xbps-src: remove remove-obsoletes

This commit is contained in:
Michael Aldridge 2021-04-16 00:02:06 -07:00
parent 69372215e3
commit 4f896929b9
2 changed files with 0 additions and 12 deletions

View File

@ -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
}

View File

@ -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
;;