Update npm_setup.sh

This commit is contained in:
tteckster 2022-01-18 07:55:07 -05:00 committed by GitHub
parent 00bd215b41
commit d2f641558b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,14 +24,14 @@ function msg() {
} }
# Prepare container OS # Prepare container OS
msg "Setting up container OS..." echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m"
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
locale-gen >/dev/null locale-gen >/dev/null
apt-get -y purge openssh-{client,server} >/dev/null apt-get -y purge openssh-{client,server} >/dev/null
apt-get autoremove >/dev/null apt-get autoremove >/dev/null
# Update container OS # Update container OS
msg "Updating container OS..." echo -e "${CHECKMARK} \e[1;92m Updating Container OS... \e[0m"
apt update &>/dev/null apt update &>/dev/null
apt-get -qqy upgrade &>/dev/null apt-get -qqy upgrade &>/dev/null