diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-11-27 10:43:33 +0100 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-11-27 10:43:33 +0100 |
commit | 9695dd4b422c70c0f7af3055e6b875b725be77e2 (patch) | |
tree | 287236f47b6ad9a1fdf367ccb88626718e2a32ec | |
parent | 84150eb51be6f5fa214e24738098230ab087bc8c (diff) | |
download | update-all-9695dd4b422c70c0f7af3055e6b875b725be77e2.tar.xz |
only run checkservices if on systemd system
-rw-r--r-- | update-me.in | 3 |
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 |