diff --git a/post-install.sh b/post-install.sh index 9ea441b..ba2018e 100755 --- a/post-install.sh +++ b/post-install.sh @@ -597,10 +597,15 @@ aur_build_setup() { echo "done" } -aur_build_remove() { - echo -n "Removeing temporary build directory..." +cleanup() { + echo -n "Removing temporary build directory..." rm -rf "$AUR_BUILD_DIR" echo "done" + + echo -n "Removing files from script..." + rm packages.csv + rm post-install.sh + echo "done" } main() { @@ -609,7 +614,7 @@ main() { install_packages install_dotfiles configure_doas - aur_build_remove + cleanup } main