xbps-src: add clean-repocache command
This commit is contained in:
parent
f93f5b2b96
commit
f0ef8e8792
7
xbps-src
7
xbps-src
|
@ -44,6 +44,9 @@ clean [pkgname]
|
|||
If <pkgname> argument is specified, package files from <masterdir>/destdir and its
|
||||
build directory in <masterdir>/buiddir are removed.
|
||||
|
||||
clean-repocache
|
||||
Removes obsolete packages from <hostdir>/repocache.
|
||||
|
||||
configure <pkgname>
|
||||
Configure a package (fetch + extract + configure).
|
||||
|
||||
|
@ -709,6 +712,10 @@ case "$XBPS_TARGET" in
|
|||
remove_pkg $XBPS_CROSS_BUILD
|
||||
fi
|
||||
;;
|
||||
clean-repocache)
|
||||
export XBPS_TARGET_ARCH="${XBPS_CROSS_BUILD:-$XBPS_TARGET_MACHINE}"
|
||||
$XBPS_REMOVE_CMD -C /dev/null -c $XBPS_HOSTDIR/repocache -O
|
||||
;;
|
||||
consistency-check)
|
||||
consistency_check
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue
Block a user