xbps-src: add update-local and show-local-updates

This commit is contained in:
Duncaen 2021-04-18 16:54:42 +02:00 committed by Duncan Overbruck
parent 82f3d8eae6
commit 4c43245e0b
2 changed files with 28 additions and 9 deletions

View file

@ -122,6 +122,9 @@ show-repo-updates
show-sys-updates
Prints the list of outdated packages in your system.
show-local-updates
Prints the list of outdated packages in your local repositories.
sort-dependencies <pkg> <pkgN+1> ...
Given a list of packages specified as additional arguments, a sorted dependency
list will be returned to stdout.
@ -132,6 +135,9 @@ update-bulk
update-sys
Rebuilds all packages in your system that are outdated and updates them.
update-local
Rebuilds all packages in your local repositories that are outdated.
update-check <pkgname>
Check upstream site of <pkgname> for new releases.
@ -961,7 +967,10 @@ case "$XBPS_TARGET" in
bulk_build
;;
show-sys-updates)
bulk_build -I
bulk_build installed
;;
show-local-updates)
bulk_build local
;;
sort-dependencies)
bulk_sortdeps ${@/$XBPS_TARGET/}
@ -970,7 +979,10 @@ case "$XBPS_TARGET" in
bulk_update
;;
update-sys)
bulk_update -I
bulk_update installed
;;
update-local)
bulk_update local
;;
update-check)
read_pkg ignore-problems