1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 08:30:05 -07:00

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

4
kiss
View File

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