Adds `run update to update`
This commit is contained in:
parent
5aba88e0be
commit
a4167b71b1
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue