common/xbps-src: Fix remove-obsoletes

This commit is contained in:
Michael Aldridge 2021-04-15 01:33:58 -07:00
parent 06e0b4ca2b
commit 0c9e6e56e7

View file

@ -1,6 +1,6 @@
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_TARGET:-$XBPS_MACHINE} $XBPS_RINDEX_CMD -r $repo
XBPS_ARCH=${XBPS_CROSS_BUILD:-$XBPS_MACHINE} $XBPS_RINDEX_CMD -r $repo
done
}