diff options
author | JK Wood <joshuakwood@gmail.com> | 2021-07-10 01:57:36 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackware.com> | 2021-07-11 02:53:04 -0500 |
commit | f9f1004bc7aacbb7456678e652a3ebefbd4a4a8c (patch) | |
tree | 3683baaaeb3c1341697649b1ff4cd6410b863bc4 /files/core-functions.sh | |
parent | 8ef7e17bb4c3ad9bae7603b2a06339498e57af86 (diff) | |
download | slackpkg-f9f1004bc7aacbb7456678e652a3ebefbd4a4a8c.tar.xz |
Allow "slackpkg help" to work after slackpkg is upgraded
Signed-off-by: Robby Workman <rworkman@slackware.com>
Diffstat (limited to 'files/core-functions.sh')
-rw-r--r-- | files/core-functions.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/files/core-functions.sh b/files/core-functions.sh index ea38f29..1a50627 100644 --- a/files/core-functions.sh +++ b/files/core-functions.sh @@ -242,7 +242,7 @@ ONE mirror in ${CONF}/mirrors and run:\n\n\ \t# slackpkg update\n\n\ You can see more information about slackpkg functions in slackpkg manpage." cleanup - elif [ "$CMD" != "new-config" ]; then + elif [ "$CMD" != "new-config" ] && [ "$CMD" != "help" ]; then echo -e "\ \nThe package list is missing.\n\ Before you install|upgrade|reinstall anything you need to run:\n\n\ @@ -347,6 +347,7 @@ use slackpkg.\n" elif ! [ -f ${WORKDIR}/CHECKSUMS.md5 ] && \ [ "$CMD" != "update" ] && \ [ "$CMD" != "new-config" ] && \ + [ "$CMD" != "help" ] && \ [ "$CHECKMD5" = "on" ]; then echo -e "\n\ No CHECKSUMS.md5 found! Please disable md5sums checking\n\ |