From a1dd8f3f53eb559b9d5e3bc6e92121664c8abc5d Mon Sep 17 00:00:00 2001
From: Dave Woodfall <dave@slackbuilds.org>
Date: Wed, 31 Mar 2021 14:42:04 +0000
Subject: Add show-changelog & help to non-root commands

---
 files/core-functions.sh | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'files')

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\
-- 
cgit v1.2.3