chiark / gitweb /
Use command instead of type, for greater portability
[disorder] / debian / postrm.disobedience
index 85f80a4fc8c79c6eb78860fdbc3fda2ba9244afd..0742696603c402241c5739d7a7936a4880fbd5e6 100755 (executable)
@@ -21,7 +21,7 @@ set -e
 
 case "$1" in
 remove )
-  if type update-menus >/dev/null 2>&1; then
+  if command -v update-menus >/dev/null 2>&1; then
     update-menus
   fi
   ;;