Browse Source

Remove GPGKEYS Checked

old-stable
Mitesh Shah 12 years ago
parent
commit
9c317071df
  1. 22
      setup/engine

22
setup/engine

@ -71,15 +71,19 @@ PHPREPO()
GPGKEY() GPGKEY()
{ {
# Fix GPG Key Problems if [ -f ~/.gpgkeyfix ]
echo -e "\033[34m Checking GPG Keys For Brianmercer Nginx Repository... \e[0m" then
sudo apt-get update > /dev/null 2> /tmp/keymissing \ # Fix GPG Key Problems
|| OwnError "Unable To Fix GPG Keys For Brianmercer Nginx Repository " echo -e "\033[34m Checking GPG Keys For Brianmercer Nginx Repository... \e[0m"
for key in $(grep "NO_PUBKEY" /tmp/keymissing |sed "s/.*NO_PUBKEY //") sudo apt-get update > /dev/null 2> /tmp/keymissing \
do || OwnError "Unable To Fix GPG Keys For Brianmercer Nginx Repository "
echo -e "\033[34m Processing key: $key \e[0m"
gpg --keyserver subkeys.pgp.net --recv $key && sudo gpg --export --armor $key | apt-key add - for key in $(grep "NO_PUBKEY" /tmp/keymissing |sed "s/.*NO_PUBKEY //")
done do
echo -e "\033[34m Processing key: $key \e[0m"
gpg --keyserver subkeys.pgp.net --recv $key && sudo gpg --export --armor $key | apt-key add -
done
fi
} }
UPDATEAPT() UPDATEAPT()

Loading…
Cancel
Save