Quick fix for a small output error in the update script

This commit is contained in:
Kevin MacMartin 2015-02-17 12:53:32 -05:00
parent 3713af3244
commit 57402031c4

2
update
View file

@ -213,7 +213,7 @@ fi
process_status="$(git pull origin master 2>&1)" process_status="$(git pull origin master 2>&1)"
if [[ $? = 0 ]]; then if [[ $? = 0 ]]; then
if ! grep -q "Already up-to-date" <<< "$process_status"; then if ! grep -q "Already up-to-date" <<< "$process_status"; then
printf '%s\n'"$cfg_green_bold SUCCESS! $c_reset" printf '%s\n' "$cfg_green_bold SUCCESS! $c_reset"
else else
printf '%s\n' "$cfg_white_bold UP TO DATE $c_reset" printf '%s\n' "$cfg_white_bold UP TO DATE $c_reset"
fi fi