Cleanup function
This commit is contained in:
parent
64cb93c84c
commit
701633a6fa
|
@ -597,10 +597,15 @@ aur_build_setup() {
|
||||||
echo "done"
|
echo "done"
|
||||||
}
|
}
|
||||||
|
|
||||||
aur_build_remove() {
|
cleanup() {
|
||||||
echo -n "Removeing temporary build directory..."
|
echo -n "Removing temporary build directory..."
|
||||||
rm -rf "$AUR_BUILD_DIR"
|
rm -rf "$AUR_BUILD_DIR"
|
||||||
echo "done"
|
echo "done"
|
||||||
|
|
||||||
|
echo -n "Removing files from script..."
|
||||||
|
rm packages.csv
|
||||||
|
rm post-install.sh
|
||||||
|
echo "done"
|
||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
@ -609,7 +614,7 @@ main() {
|
||||||
install_packages
|
install_packages
|
||||||
install_dotfiles
|
install_dotfiles
|
||||||
configure_doas
|
configure_doas
|
||||||
aur_build_remove
|
cleanup
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main
|
||||||
|
|
Loading…
Reference in New Issue