diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-03-31 14:42:04 +0000 |
---|---|---|
committer | Dave Woodfall <dave@slackbuilds.org> | 2021-03-31 14:42:04 +0000 |
commit | a1dd8f3f53eb559b9d5e3bc6e92121664c8abc5d (patch) | |
tree | bda8be743369a46caa41623f18940ae9ea857862 /files/core-functions.sh | |
parent | 3d99ab68d36a5e0fedd55f161392e45a30247849 (diff) | |
download | slackpkg-a1dd8f3f53eb559b9d5e3bc6e92121664c8abc5d.tar.xz |
Add show-changelog & help to non-root commands
Diffstat (limited to 'files/core-functions.sh')
-rw-r--r-- | files/core-functions.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/files/core-functions.sh b/files/core-functions.sh index e9e3ed6..1e7dfb4 100644 --- a/files/core-functions.sh +++ b/files/core-functions.sh @@ -327,6 +327,8 @@ to the closest mirror and is very slow.\n" [ "$CMD" != "search" ] && \ [ "$CMD" != "file-search" ] && \ [ "$CMD" != "check-updates" ] && \ + [ "$CMD" != "show-changelog" ] && \ + [ "$CMD" != "help" ] && \ [ "$CMD" != "info" ]; then echo -e "\n\ Only root can install, upgrade, or remove packages.\n\ |