diff --git a/helpers/helpers.v2.1.d/apt b/helpers/helpers.v2.1.d/apt index 00a48d64d..d8425ee58 100644 --- a/helpers/helpers.v2.1.d/apt +++ b/helpers/helpers.v2.1.d/apt @@ -222,7 +222,7 @@ EOF mkdir --parents "/etc/apt/trusted.gpg.d" # Timeout option is here to enforce the timeout on dns query and tcp connect (c.f. man wget) - wget --timeout 900 --quiet "$key" --output-document=- | gpg --dearmor | tee /etc/apt/trusted.gpg.d/$name.gpg >/dev/null + wget --timeout 900 --quiet "$key" --output-document=- | gpg --dearmor > /etc/apt/trusted.gpg.d/$app.gpg # Update the list of package with the new repo NB: we use -o # Dir::Etc::sourcelist to only refresh this repo, because @@ -247,7 +247,7 @@ EOF ynh_safe_rm "/etc/apt/sources.list.d/$app.list" ynh_safe_rm "/etc/apt/preferences.d/$app" ynh_safe_rm "/etc/apt/trusted.gpg.d/$app.gpg" - ynh_apt_update + _ynh_apt update } # #####################