summaryrefslogtreecommitdiff
path: root/update-me.in
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2023-11-27 10:43:33 +0100
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-11-27 10:43:33 +0100
commit9695dd4b422c70c0f7af3055e6b875b725be77e2 (patch)
tree287236f47b6ad9a1fdf367ccb88626718e2a32ec /update-me.in
parent84150eb51be6f5fa214e24738098230ab087bc8c (diff)
downloadupdate-all-9695dd4b422c70c0f7af3055e6b875b725be77e2.tar.xz
only run checkservices if on systemd system
Diffstat (limited to 'update-me.in')
-rw-r--r--update-me.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/update-me.in b/update-me.in
index 6c06222..77bf0fc 100644
--- a/update-me.in
+++ b/update-me.in
@@ -70,7 +70,8 @@ if command -v check-kernel >/dev/null; then
postCmds+=('check-kernel -r')
fi
-if command -v checkservices >/dev/null; then
+if command -v checkservices >/dev/null \
+&& command -v systemctl >/dev/null; then
postCmds+=('checkservices')
fi