Explorar el Código

Use 'type' instead of 'which' to prevent unnecessary dependency

QubesOS/qubes-issues#1299
Marek Marczykowski-Górecki hace 8 años
padre
commit
7e321ba63c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      network/show-hide-nm-applet.sh

+ 1 - 1
network/show-hide-nm-applet.sh

@@ -1,6 +1,6 @@
 #!/bin/sh
 
-which nm-applet > /dev/null 2>&1 || exit 0
+type nm-applet > /dev/null 2>&1 || exit 0
 
 # Hide nm-applet when network-manager is disabled
 nm_enabled=false