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

QubesOS/qubes-issues#1299
This commit is contained in:
Marek Marczykowski-Górecki 2015-10-10 15:23:53 +02:00
parent 13fb6e2fc3
commit 7e321ba63c
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -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