From a01d0ac9900465ecd21235240b7b1d7e7d1bc2ff Mon Sep 17 00:00:00 2001 From: JKANetwork Date: Mon, 13 Feb 2017 00:09:06 +0100 Subject: [PATCH] edit --- installer/installer.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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 }