Update ubuntu_setup.sh

pull/18/head
tteckster 3 years ago committed by GitHub
parent 8bf0e369c3
commit afc52f825c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -26,8 +26,6 @@ function msg() {
echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m"
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
locale-gen >/dev/null
apt-get -y purge openssh-{client,server} >/dev/null
apt-get autoremove >/dev/null
echo -e "${CHECKMARK} \e[1;92m Updating Container OS \e[0m"
apt update &>/dev/null
@ -52,4 +50,4 @@ systemctl daemon-reload
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
rm -rf /ubuntu_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
rm -rf /ubuntu_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*

Loading…
Cancel
Save

Powered by BW's shoe-string budget.