addKey add key from server fixed using directly gpg
This commit is contained in:
parent
4f6660c0ca
commit
bcf09ef324
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue