Fix grammar error

This commit is contained in:
lhark 2016-10-11 00:49:35 -04:00
parent dd98a17e7c
commit b5958036c4

View file

@ -167,7 +167,8 @@ prompt_msg () {
git_network_unreachable)
msg="Can't reach rc git repo";;
update_sys*)
msg="Update ready for system. $(echo $line | grep -o '[0-9]*' | head -n 1) Packages";;
nb_pkg=$(echo $line | grep -o '[0-9]*' | head -n 1)
msg="Update ready for the system. $nb_pkg new package$([ $nb_pkg -gt 1 ] && echo s)";;
*)
msg="";;
esac