From bcf09ef32495f6509b0f3dec13a902a20afc30df Mon Sep 17 00:00:00 2001 From: shakasan Date: Fri, 16 Mar 2018 04:59:58 +0100 Subject: [PATCH] addKey add key from server fixed using directly gpg --- core_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core_functions.sh b/core_functions.sh index 1fb97c7..837c31f 100644 --- a/core_functions.sh +++ b/core_functions.sh @@ -219,7 +219,7 @@ function addKey () { printf "[REPO] adding key $2 from $1 " printf "\n[REPO] adding key $2 from $1\n" &>> $logFile #sudo apt-key adv --keyserver $1 --recv-keys $2 - &>> $logFile - gpg --keyserver $1 --recv-keys $2 \ + gpg --keyserver $1 --recv-keys $2 &>> $logFile \ && gpg -a --export $2 | sudo apt-key add - &>> $logFile ret_code=$? retCode $ret_code