From e8c0449b3ff4c9d95a31691ce847ba7603e8d5ca Mon Sep 17 00:00:00 2001 From: velvettear Date: Mon, 12 Apr 2021 00:28:32 +0200 Subject: [PATCH] clean up after package installation --- debian_install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian_install.sh b/debian_install.sh index e7bb26b..08d3af6 100755 --- a/debian_install.sh +++ b/debian_install.sh @@ -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"