Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-env-setup.sh
diff options
context:
space:
mode:
authorDaniel Francis <francis@sugarlabs.org>2013-01-25 20:07:46 (GMT)
committer Daniel Francis <francis@sugarlabs.org>2013-01-25 20:07:46 (GMT)
commitdec1068552fbca1f6719ded3550d25461f8337f4 (patch)
tree3c15bf86553102dfd2a271fcee7f5e1901665dae /sugar-env-setup.sh
parent45ff5b8ecfc50bedc68226894d8b71f4c47b4910 (diff)
Highlight important messages
Signed-off-by: Daniel Francis <francis@sugarlabs.org>
Diffstat (limited to 'sugar-env-setup.sh')
-rwxr-xr-xsugar-env-setup.sh16
1 files changed, 12 insertions, 4 deletions
diff --git a/sugar-env-setup.sh b/sugar-env-setup.sh
index f08170b..e91abed 100755
--- a/sugar-env-setup.sh
+++ b/sugar-env-setup.sh
@@ -18,27 +18,35 @@
# MA 02110-1301, USA.
configure_apt () {
+ echo "###############"
echo "Configuring APT"
+ echo "###############"
apt-get update
- echo "[OK]"
+ echo "##### OK #####"
}
install_packages () {
+ echo "###############################################"
echo "Installing packages required to run Sugar-build"
+ echo "###############################################"
apt-get -y install ssh git python sudo time locales dialog python-apt
- echo "[OK]"
+ echo "##### OK #####"
+ echo "##################"
echo "Generating locales"
+ echo "##################"
locale-gen $LANG
- echo "[OK]"
+ echo "##### OK #####"
}
create_user () {
+ echo "#################"
echo "Creating new user"
+ echo "#################"
mkdir /home/sugar
useradd -g sudo -d /home/sugar -s /bin/bash sugar
chown sugar /home/sugar
passwd sugar
- echo "[OK]"
+ echo "##### OK #####"
}
configure_apt