From 7a19546c425a0f0d3a2f37b9c1cafbeec69bf16e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 26 Aug 2021 21:22:12 +0200 Subject: use simply-report-installed-packages if present --- update-me.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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() { -- cgit v1.2.3-54-g00ecf