Use 'type' instead of 'which' to prevent unnecessary dependency
QubesOS/qubes-issues#1299
This commit is contained in:
parent
13fb6e2fc3
commit
7e321ba63c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user