summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-10 08:29:37 +0200
committerErich Eckner <git@eckner.net>2019-07-10 08:29:37 +0200
commit18d2dbde1825de45f34594dbc98cd532c282e29d (patch)
tree0067e813f6a3d42c58f33c5e2d07fd5b2f3aec79
parent5dfba35a89eceb5834cc0b07c63e5aee7a2ca5c5 (diff)
downloadupdate-all-18d2dbde1825de45f34594dbc98cd532c282e29d.tar.xz
update-me.in: use "command -v" instead of "which"
-rw-r--r--update-me.in2
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