# HG changeset patch # User Paul Boddie # Date 1352057876 -3600 # Node ID eb1a1672f7ab2241ed1aadf56450d727e89502c6 # Parent 82028abe0236498b8b3cb5c51dcbc2d62e43cd1c Added directories to the PATH to assist the various apt-get invocations. diff -r 82028abe0236 -r eb1a1672f7ab user-postsetup --- a/user-postsetup Sun Nov 04 20:35:41 2012 +0100 +++ b/user-postsetup Sun Nov 04 20:37:56 2012 +0100 @@ -52,6 +52,9 @@ "$THIS_DIR/user-makesources" "$PACKAGEROOT/etc/apt/sources.list" "$COUNTRY" fi +echo "Setting the PATH..." 1>&2 +PATH=$PATH${PATH:+:}/usr/sbin:/sbin + echo "Updating package details and upgrading..." 1>&2 "$THIS_DIR/user-do" $AS_ROOT apt-get update "$THIS_DIR/user-do" $AS_ROOT apt-get upgrade