From 18d2dbde1825de45f34594dbc98cd532c282e29d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 10 Jul 2019 08:29:37 +0200 Subject: update-me.in: use "command -v" instead of "which" --- update-me.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2