From: Alexander Barton Date: Tue, 7 Feb 2012 20:29:45 +0000 (+0100) Subject: Check /usr/share/php/bin as optional search path component X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ConfigScripts.git;a=commitdiff_plain;h=e8a2ac3e5e03e537bef7d95288e003f38109e169;ds=sidebyside Check /usr/share/php/bin as optional search path component --- diff --git a/sys/profile b/sys/profile index 423c380..7a356c1 100644 --- a/sys/profile +++ b/sys/profile @@ -48,7 +48,7 @@ if [ "$UID" -eq 0 ]; then [ -n "$path" ] && PATH="$path$PATH" fi # append optional directories to PATH ... -for d in /usr/bin/X11 /usr/games; do +for d in /usr/bin/X11 /usr/games /usr/share/php/bin; do [ -d "$d" -o -h "$d" ] && PATH="$PATH:$d" done # set PATH so it includes user's private executables