diff --git a/bin/update b/bin/update index aa47d1c..2d99fb1 100755 --- a/bin/update +++ b/bin/update @@ -42,13 +42,15 @@ _sentence() { color="32" n_verb=`shuf -i0-"$((${#verb[@]}-1))" -n1` s_verb=${verb[$n_verb]} + end="" elif [ $1 = "not_updated" ]; then color="31" n_verb=`shuf -i0-"$((${#no_verb[@]}-1))" -n1` s_verb=${no_verb[$n_verb]} + end="Run \`update\` to update your system." fi - echo -e "\033[$color;1m${subject0[$n_subject0]} ${adjective[$n_adjective]} ${subject1[$n_subject1]} $s_verb ${adverb[$n_adverb]}${dot[$n_dot]}\033[0m" + echo -e "\033[$color;1m${subject0[$n_subject0]} ${adjective[$n_adjective]} ${subject1[$n_subject1]} $s_verb ${adverb[$n_adverb]}${dot[$n_dot]} ${end}\033[0m" } _check_date() {