diff options
author | Daniel Francis <francis@sugarlabs.org> | 2013-01-25 20:07:46 (GMT) |
---|---|---|
committer | Daniel Francis <francis@sugarlabs.org> | 2013-01-25 20:07:46 (GMT) |
commit | dec1068552fbca1f6719ded3550d25461f8337f4 (patch) | |
tree | 3c15bf86553102dfd2a271fcee7f5e1901665dae /env.sh | |
parent | 45ff5b8ecfc50bedc68226894d8b71f4c47b4910 (diff) |
Highlight important messages
Signed-off-by: Daniel Francis <francis@sugarlabs.org>
Diffstat (limited to 'env.sh')
-rwxr-xr-x | env.sh | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -18,16 +18,20 @@ # MA 02110-1301, USA. check_root () { + echo "#############################" echo "Checking for root permissions" + echo "#############################" if [ `whoami` != root ]; then echo $0 ": Need to run as root. Stopping." exit fi - echo "[OK]" + echo "##### OK #####" } clean_install () { + echo "##########################" echo "Cleaning install directory" + echo "##########################" if [ -d ./install ]; then rm -Rf ./install fi @@ -36,12 +40,14 @@ clean_install () { } copy_files () { + echo "#############" echo "Copying files" + echo "#############" cp sources.list install/etc/apt/ cp sugar-env-setup.sh install/usr/bin/ cp sugar-build-clone.sh install/usr/bin/ cp install/etc/bash.bashrc install/root/.bashrc - echo "[OK]" + echo "##### OK #####" } # Installation function @@ -49,7 +55,9 @@ installenv () { check_root clean_install + echo "######################" echo "Installing base system" + echo "######################" debootstrap --variant=buildd quantal ./install http://archive.ubuntu.com/ubuntu/ copy_files |