Remember to the user to run 'slackpkg update gpg'

This commit is contained in:
Matteo Rossini 2016-01-05 18:58:38 +01:00
parent 7f1ad1acb5
commit 6f459f145b

View file

@ -1179,6 +1179,15 @@ if [ "$SLACKPKGPLUS" = "on" ];then
ANSWER="Y"
fi
if [ "$UPARG" != "gpg" ]&&[ "$CHECKGPG" = "on" ]&& ! ls -l $WORKDIR/gpg/GPG-KEY-slackware*.gpg >/dev/null 2>&1;then
echo "FATAL! No Slackware GPG-KEY imported."
if [ -e "$WORKDIR/ChangeLog.txt" ];then
echo "If you are upgrading from an older release of slackpkg+, all keys must to be reimported."
fi
echo "Please run"
echo " # slackpkg update gpg"
cleanup
fi
# Ensure each repository url has a trailing slash...
#