clean up if install loop fails
This commit is contained in:
@@ -40,7 +40,8 @@ for script in $script_filter; do
|
|||||||
source "$script" | indent
|
source "$script" | indent
|
||||||
printf "${C_NC}"
|
printf "${C_NC}"
|
||||||
|
|
||||||
done
|
# Clean up if fails
|
||||||
|
done || make clean
|
||||||
|
|
||||||
# Clean up and exit
|
# Clean up and exit
|
||||||
printf "Done! Cleaning up...\n${C_DGRAY}"
|
printf "Done! Cleaning up...\n${C_DGRAY}"
|
||||||
|
|||||||
Reference in New Issue
Block a user