summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-04-21 01:37:44 +0000
committerDave Woodfall <dave@slackbuilds.org>2021-04-21 01:37:44 +0000
commitf7709dfeea3c2311838390a6b1945158bce9a693 (patch)
treece810d3bdbcce6a286cfa91c1b64237a3b62bd30
parent166055b380fd6a558a1b29636ca64d469c2730d4 (diff)
downloadslackpkg-whitespace.tar.xz
files/core-functions.sh: fix missing fiwhitespace
-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\