From 7e321ba63c3733cd2bbec9827415a572116f729d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 10 Oct 2015 15:23:53 +0200 Subject: [PATCH] Use 'type' instead of 'which' to prevent unnecessary dependency QubesOS/qubes-issues#1299 --- network/show-hide-nm-applet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/show-hide-nm-applet.sh b/network/show-hide-nm-applet.sh index da66bf8..46b4846 100644 --- a/network/show-hide-nm-applet.sh +++ b/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