Fix grammar error
This commit is contained in:
parent
dd98a17e7c
commit
b5958036c4
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue