From 054ca9b1b0780b89f0c83933322d5f0bb948c199 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Mon, 23 Sep 2019 20:32:19 -0400 Subject: [PATCH] add clean up function --- installers/common.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/installers/common.sh b/installers/common.sh index 4952d48..cc58411 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -362,6 +362,10 @@ function optimize_php() { fi } +function clean_up () { + sudo apt-get -y autoremove +} + function install_complete() { install_log "Installation completed!" @@ -395,5 +399,6 @@ function install_raspap() { network_tables default_configuration patch_system_files + clean_up install_complete }