summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--files/core-functions.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/files/core-functions.sh b/files/core-functions.sh
index 92138e4..bfa5bd6 100644
--- a/files/core-functions.sh
+++ b/files/core-functions.sh
@@ -386,21 +386,21 @@ To disable GPG, edit slackpkg.conf and change the value of the CHECKGPG \n\
variable to "off" - you can see an example in the original slackpkg.conf.new\n\
file distributed with slackpkg.\n"
sleep 5
-
+ fi
# Check if the Slackware GPG key are found in the system
#
GPGFIRSTTIME="$(gpg --list-keys \"$SLACKKEY\" 2>/dev/null |
grep -c "$SLACKKEY")"
- if [ "$GPGFIRSTTIME" = "0" ] &&
- [ "$CMD" != "search" ] &&
- [ "$CMD" != "file-search" ] &&
- [ "$CMD" != "info" ] &&
- [ "$CMD" != "new-config" ] &&
- [ "$CMD" != "update" ] &&
- [ "$CMD" != "check-updates" ] &&
- [ "$CHECKGPG" = "on" ]; then
- echo -e "\n\
+ if [ "$GPGFIRSTTIME" = "0" ] &&
+ [ "$CMD" != "search" ] &&
+ [ "$CMD" != "file-search" ] &&
+ [ "$CMD" != "info" ] &&
+ [ "$CMD" != "new-config" ] &&
+ [ "$CMD" != "update" ] &&
+ [ "$CMD" != "check-updates" ] &&
+ [ "$CHECKGPG" = "on" ]; then
+ echo -e "\n\
You need the GPG key of $SLACKKEY.\n\
To download and install that key, run:\n\n\
\t# slackpkg update gpg\n\n\