diff options
author | Erich Eckner <git@eckner.net> | 2021-02-02 14:04:53 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-02-02 14:04:53 +0100 |
commit | f72f36e056c91b1115e970be850bf46c57d17eb0 (patch) | |
tree | 9fe78332ca0d60e7b058fa0910cbdd64c2a8ad0b | |
parent | d9bd4a75985156e50e3259fc885c2f5db6c67a2a (diff) | |
download | update-all-f72f36e056c91b1115e970be850bf46c57d17eb0.tar.xz |
update-me.in: report-installed-packages needs root, too
-rw-r--r-- | update-me.in | 7 |
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 |