mirror of
https://github.com/rworkman/slackpkg
synced 2024-12-25 21:58:42 +01:00
Allow "slackpkg help" to work after slackpkg is upgraded
Signed-off-by: Robby Workman <rworkman@slackware.com>
This commit is contained in:
parent
8ef7e17bb4
commit
f9f1004bc7
1 changed files with 2 additions and 1 deletions
|
@ -242,7 +242,7 @@ ONE mirror in ${CONF}/mirrors and run:\n\n\
|
||||||
\t# slackpkg update\n\n\
|
\t# slackpkg update\n\n\
|
||||||
You can see more information about slackpkg functions in slackpkg manpage."
|
You can see more information about slackpkg functions in slackpkg manpage."
|
||||||
cleanup
|
cleanup
|
||||||
elif [ "$CMD" != "new-config" ]; then
|
elif [ "$CMD" != "new-config" ] && [ "$CMD" != "help" ]; then
|
||||||
echo -e "\
|
echo -e "\
|
||||||
\nThe package list is missing.\n\
|
\nThe package list is missing.\n\
|
||||||
Before you install|upgrade|reinstall anything you need to run:\n\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 ] && \
|
elif ! [ -f ${WORKDIR}/CHECKSUMS.md5 ] && \
|
||||||
[ "$CMD" != "update" ] && \
|
[ "$CMD" != "update" ] && \
|
||||||
[ "$CMD" != "new-config" ] && \
|
[ "$CMD" != "new-config" ] && \
|
||||||
|
[ "$CMD" != "help" ] && \
|
||||||
[ "$CHECKMD5" = "on" ]; then
|
[ "$CHECKMD5" = "on" ]; then
|
||||||
echo -e "\n\
|
echo -e "\n\
|
||||||
No CHECKSUMS.md5 found! Please disable md5sums checking\n\
|
No CHECKSUMS.md5 found! Please disable md5sums checking\n\
|
||||||
|
|
Loading…
Reference in a new issue