From 0aad13cd2fcd0705db8c4a635e69416265a00bb6 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 24 Jun 2024 19:11:28 +0200 Subject: [PATCH] helpers2.1: oopsies in apt helper --- helpers/helpers.v2.1.d/apt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } # #####################