xbps-src: remove remove-obsoletes
This commit is contained in:
parent
69372215e3
commit
4f896929b9
|
@ -1,6 +0,0 @@
|
|||
remove_obsoletes () {
|
||||
for repo in $XBPS_HOSTDIR/binpkgs $XBPS_HOSTDIR/binpkgs/debug $XBPS_HOSTDIR/binpkgs/nonfree $XBPS_HOSTDIR/binpkgs/multilib/ $XBPS_HOSTDIR/binpkgs/multilib/nonfree ; do
|
||||
msg_normal "Cleaning $repo\n"
|
||||
XBPS_ARCH=${XBPS_CROSS_BUILD:-$XBPS_MACHINE} $XBPS_RINDEX_CMD -r $repo
|
||||
done
|
||||
}
|
6
xbps-src
6
xbps-src
|
@ -78,9 +78,6 @@ remove <pkgname>
|
|||
remove-autodeps
|
||||
Removes all package dependencies that were installed automatically.
|
||||
|
||||
remove-obsoletes
|
||||
Remove all obsolete packages from default repositories as detected by xbps-rindex.
|
||||
|
||||
purge-distfiles
|
||||
Removes all obsolete distfiles in <hostdir>/sources.
|
||||
|
||||
|
@ -802,9 +799,6 @@ case "$XBPS_TARGET" in
|
|||
read_pkg
|
||||
remove_pkg $XBPS_CROSS_BUILD
|
||||
;;
|
||||
remove-obsoletes)
|
||||
remove_obsoletes
|
||||
;;
|
||||
list)
|
||||
$XBPS_QUERY_CMD -l
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue