[Sugar-devel] [PATCH sugar 11/20] Remove now unnecessary path tweaking
Daniel Narvaez
dwnarvaez at gmail.com
Mon Dec 10 14:11:37 EST 2012
From: Daniel Narvaez <dwnarvaez at gmail.com>
On fedora 17, where wpa_passphrase is installed in /usr/sbin, the
directory is now also on the path.
---
bin/sugar.in | 3 ---
1 file changed, 3 deletions(-)
diff --git a/bin/sugar.in b/bin/sugar.in
index a2cee51..d8f97b7 100644
--- a/bin/sugar.in
+++ b/bin/sugar.in
@@ -57,9 +57,6 @@ fi
export GTK2_RC_FILES="@prefix@/share/sugar/data/sugar-$SUGAR_SCALING.gtkrc"
-# Needed for executing wpa_passphrase
-export PATH="$PATH":/sbin:/usr/sbin
-
if ! test -f "$GTK2_RC_FILES"; then
echo "sugar: ERROR: Gtk theme for scaling $SUGAR_SCALING not available in path $GTK2_RC_FILES"
exit 1
--
1.7.10.4
More information about the Sugar-devel
mailing list