Use 'type' instead of 'which' to prevent unnecessary dependency
QubesOS/qubes-issues#1299
(cherry picked from commit 7e321ba63c
)
This commit is contained in:
parent
44fcaf4870
commit
8fcc7f7e05
|
@ -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