2012-11-04 | Paul Boddie | raw files shortlog changelog graph | Added directories to the PATH to assist the various apt-get invocations. | |
user-postsetup (file) |
1.1 --- a/user-postsetup Sun Nov 04 20:35:41 2012 +0100 1.2 +++ b/user-postsetup Sun Nov 04 20:37:56 2012 +0100 1.3 @@ -52,6 +52,9 @@ 1.4 "$THIS_DIR/user-makesources" "$PACKAGEROOT/etc/apt/sources.list" "$COUNTRY" 1.5 fi 1.6 1.7 +echo "Setting the PATH..." 1>&2 1.8 +PATH=$PATH${PATH:+:}/usr/sbin:/sbin 1.9 + 1.10 echo "Updating package details and upgrading..." 1>&2 1.11 "$THIS_DIR/user-do" $AS_ROOT apt-get update 1.12 "$THIS_DIR/user-do" $AS_ROOT apt-get upgrade