clean up if install loop fails

This commit is contained in:
Andrejus
2020-02-26 15:41:26 +00:00
parent f6047872ac
commit d3886f13e9

View File

@@ -40,7 +40,8 @@ for script in $script_filter; do
source "$script" | indent
printf "${C_NC}"
done
# Clean up if fails
done || make clean
# Clean up and exit
printf "Done! Cleaning up...\n${C_DGRAY}"