]> gitweb.fluxo.info Git - scripts.git/commitdiff
Check for wicd-gtk
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 27 Jun 2014 20:06:49 +0000 (17:06 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 27 Jun 2014 20:06:49 +0000 (17:06 -0300)
xwicd

diff --git a/xwicd b/xwicd
index 84a82c1c9e4a79dc991c6733ff2034ebc89cba4f..3dd895488694af20a581ce6c890eeda732fe9c49 100755 (executable)
--- a/xwicd
+++ b/xwicd
@@ -4,5 +4,7 @@
 #
 
 if laptop-detect; then
-  wicd-gtk --tray
+  if which wicd-gtk &> /dev/null; then
+    wicd-gtk --tray
+  fi
 fi