diff --git a/install.sh b/install.sh index ebf86b2..33b7a6b 100755 --- a/install.sh +++ b/install.sh @@ -54,6 +54,10 @@ function displayYesNo { function displayCmd { echo -e "- Running $(styleColor "green")$2$(styleColorRst)..." $1 > /dev/null 2>&1 + + if [ $? -ne 0 ]; then + echo -e "\t---$(styleColor "red")Previous command failed!$(styleColorRst)---" + fi } # Packages