From f7709dfeea3c2311838390a6b1945158bce9a693 Mon Sep 17 00:00:00 2001 From: Dave Woodfall Date: Wed, 21 Apr 2021 01:37:44 +0000 Subject: files/core-functions.sh: fix missing fi --- files/core-functions.sh | 20 ++++++++++---------- 1 file 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\ -- cgit v1.2.3