From d09e3820341b763585d586ad271df8bc6231ea8f Mon Sep 17 00:00:00 2001 From: Yoan Blanc Date: Mon, 13 May 2019 10:45:33 +0200 Subject: [PATCH] fixup! fixup! fixup! apt_key: refatoring Signed-off-by: Yoan Blanc --- bootstrap-salt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index fbac7da..223e3a4 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -1894,7 +1894,7 @@ __temp_gpg_pub() { __apt_key_fetch() { url=$1 - tempfile="$(__temp_gpg_pub)" || return 1 + tempfile="$(__temp_gpg_pub)" __fetch_url "$tempfile" "$url" || return 1 apt-key add "$tempfile" || return 1 @@ -1912,7 +1912,7 @@ __apt_key_fetch() { __rpm_import_gpg() { url=$1 - tempfile="$(__temp_gpg_pub)" || return 1 + tempfile="$(__temp_gpg_pub)" __fetch_url "$tempfile" "$url" || return 1 rpm --import "$tempfile" || return 1