diff --git a/buildcore.sh b/buildcore.sh index 76b79a95a..6e7c83efe 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -174,6 +174,7 @@ fi mkdir -p $HOME/.gnupg for i in pubring.gpg secring.gpg trustdb.gpg; do if [ ! -f $HOME/.gnupg/$i ] || [ `wc -c $HOME/.gnupg/$i|cut -f 1 -d' '` == 0 ]; then + rm -f $HOME/.gnupg/$i wget -P $HOME/.gnupg $GSA/keys/$i chmod 600 $HOME/.gnupg/$i fi