diff --git a/installer/installer.sh b/installer/installer.sh index 079a0b0..e9828ed 100755 --- a/installer/installer.sh +++ b/installer/installer.sh @@ -41,10 +41,9 @@ function comm { command=$4 fi - - # Check for multisentence command and run + # Check for multisentence command for showing start of command if [[ $multic == "0" ]];then - echo "[ RUNNING ] $1" + echo "[RUNNING] $1" fi #Run command and make silent if its needed. if [[ $2 != "0" ]];then @@ -56,13 +55,13 @@ function comm { # When command finish, know if it ran succesfully if [[ $? != "0" ]];then - echo "[ ERROR ] $1" - echo "[ ERROR ] $1" >> /tmp/install.log + echo "[FAILED] $1" + echo "[FAILED] $1" >> /tmp/install.log fi if [ $? == "0" ] && [ $multic != "1" ];then - echo "[ OK ] $1" - echo "[ OK ] $1" >> /tmp/install.log + echo "[ OK ] $1" + echo "[ OK ] $1" >> /tmp/install.log fi }