summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-02-02 14:04:53 +0100
committerErich Eckner <git@eckner.net>2021-02-02 14:04:53 +0100
commitf72f36e056c91b1115e970be850bf46c57d17eb0 (patch)
tree9fe78332ca0d60e7b058fa0910cbdd64c2a8ad0b
parentd9bd4a75985156e50e3259fc885c2f5db6c67a2a (diff)
downloadupdate-all-f72f36e056c91b1115e970be850bf46c57d17eb0.tar.xz
update-me.in: report-installed-packages needs root, too
-rw-r--r--update-me.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/update-me.in b/update-me.in
index 0c84c16..f20f837 100644
--- a/update-me.in
+++ b/update-me.in
@@ -80,9 +80,10 @@ command_needs_root() {
s@^.*/@@
'
)
- if [ "${cmd}" = 'mount' ] \
- || [ "${cmd}" = 'checkservices' ] \
- || [ "${cmd}" = 'check-kernel' ]; then
+ if [ "${cmd}" = 'checkservices' ] \
+ || [ "${cmd}" = 'check-kernel' ] \
+ || [ "${cmd}" = 'mount' ] \
+ || [ "${cmd}" = 'report-installed-packages' ]; then
return 0
else
return 1