diff options
author | Erich Eckner <git@eckner.net> | 2019-07-10 08:29:37 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-07-10 08:29:37 +0200 |
commit | 18d2dbde1825de45f34594dbc98cd532c282e29d (patch) | |
tree | 0067e813f6a3d42c58f33c5e2d07fd5b2f3aec79 /update-me.in | |
parent | 5dfba35a89eceb5834cc0b07c63e5aee7a2ca5c5 (diff) | |
download | update-all-18d2dbde1825de45f34594dbc98cd532c282e29d.tar.xz |
update-me.in: use "command -v" instead of "which"
Diffstat (limited to 'update-me.in')
-rw-r--r-- | update-me.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update-me.in b/update-me.in index 69da18b..dfce7bb 100644 --- a/update-me.in +++ b/update-me.in @@ -4,7 +4,7 @@ preCmds=('hostname') cmds=() postCmds=('sync') -if which check-kernel >/dev/null 2>&1; then +if command -v check-kernel >/dev/null; then postCmds+=('check-kernel -r') fi |