clean up after package installation
This commit is contained in:
parent
cb0011d2d4
commit
e8c0449b3f
1 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue