From 9b88ec64626d99412bd1effcc90619609b4fedbd Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 1 Feb 2022 20:03:07 -0500 Subject: [PATCH] Update npm_setup.sh --- setup/npm_setup.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/setup/npm_setup.sh b/setup/npm_setup.sh index 1df1986f..74bd42f1 100644 --- a/setup/npm_setup.sh +++ b/setup/npm_setup.sh @@ -23,17 +23,15 @@ function msg() { local TEXT="$1" echo -e "$TEXT" } +echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m" +sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen +locale-gen >/dev/null +sleep 3 while [ "$(hostname -I)" = "" ]; do echo -e "${CROSS} \e[1;31m No network: \e[0m $(date)" sleep 3 done - - echo -e "${CHECKMARK} \e[1;92m Network connected: \e[0m ($(hostname -I))" - -echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m" -sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen -locale-gen >/dev/null - + echo -e "${CHECKMARK} \e[1;92m Network connected: \e[0m $(hostname -I)" echo -e "${CHECKMARK} \e[1;92m Updating Container OS... \e[0m" apt update &>/dev/null apt-get -qqy upgrade &>/dev/null