Add show-changelog & help to non-root commands

This commit is contained in:
Dave Woodfall 2021-03-31 14:42:04 +00:00
parent 3d99ab68d3
commit a1dd8f3f53

View file

@ -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\