1
0
Quellcode durchsuchen

Adjust for deprecation of which(1)

Christoph Biedl vor 2 Jahren
Ursprung
Commit
fdc67caa35
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      debian/aoetools.postinst

+ 1 - 1
debian/aoetools.postinst

@@ -4,7 +4,7 @@ set -e
 
 case "$1" in
 configure)
-    if which udevadm >/dev/null; then
+    if command -v udevadm >/dev/null; then
         udevadm control --reload || true
     fi
     # load the kernel module (as opposed to letting the init script do it)