clean up after package installation

This commit is contained in:
Daniel Sommer 2021-04-12 00:28:32 +02:00
parent cb0011d2d4
commit e8c0449b3f

View file

@ -53,6 +53,11 @@ apt-get install -y \
read -p "|> enter additional packages to install: " packages
[[ "$packages" ]] && packages="$(printf "$packages" | tr '\n' ' ')" && apt-get install -y $packages
printc "|> cleaning up...\n"
apt-get clean -y
apt-get autoremove --purge -y
rm -rf "/var/cache/apt/*"
printf "|> setting timezone...\n"
rm -f "/etc/localtime"
ln -s "/usr/share/zoneinfo/Europe/Berlin" "/etc/localtime"