misc: rename updates -> update

This commit is contained in:
Dylan Araps 2021-07-12 12:44:27 +03:00
parent 96030c4917
commit c2fbc4193f
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 2 additions and 2 deletions

4
kiss
View File

@ -1395,7 +1395,7 @@ pkg_install() {
log "$pkg_name" "Installed successfully"
}
pkg_updates() {
pkg_update() {
# Check all installed packages for updates. So long as the installed
# version and the version in the repositories differ, it's considered
# an update.
@ -1636,7 +1636,7 @@ args() {
l|list) pkg_list "$@" ;;
r|remove) for pkg in $redro; do pkg_remove "$pkg"; done ;;
s|search) for pkg do pkg_find_die "$pkg" all; done ;;
u|update) pkg_updates ;;
u|update) pkg_update ;;
v|version) printf '5.4.11\n' ;;
'')