summaryrefslogtreecommitdiff
path: root/update-me.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-08-26 21:22:12 +0200
committerErich Eckner <git@eckner.net>2021-08-26 21:22:12 +0200
commit7a19546c425a0f0d3a2f37b9c1cafbeec69bf16e (patch)
tree92b4d5e35c4f0ce1221f314a882847c0521c448c /update-me.in
parent87f65d564ce13bacfa599fa6b750aabe39b4c229 (diff)
downloadupdate-all-7a19546c425a0f0d3a2f37b9c1cafbeec69bf16e.tar.xz
use simply-report-installed-packages if present
Diffstat (limited to 'update-me.in')
-rw-r--r--update-me.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/update-me.in b/update-me.in
index ed95002..d57fa10 100644
--- a/update-me.in
+++ b/update-me.in
@@ -42,6 +42,10 @@ preCmds=('uname -n')
cmds=()
postCmds=('sync')
+if command -v simply-report-installed-packages >/dev/null; then
+ postCmds+=('simply-report-installed-packages')
+fi
+
for mp in '/' '/boot'; do
mountpoint -q "${mp}" || continue
mount \
@@ -67,7 +71,7 @@ if command -v check-kernel >/dev/null; then
fi
if command -v checkservices >/dev/null; then
- postCmds+=(checkservices)
+ postCmds+=('checkservices')
fi
command_needs_root() {