xbps-src: Add purge-distfiles command

Closes #1970
This commit is contained in:
jbu 2015-07-06 09:47:52 +02:00
parent 5c13890e87
commit 919afe94fc
2 changed files with 77 additions and 0 deletions

View file

@ -58,6 +58,9 @@ remove <pkgname>
remove-autodeps
Removes all package dependencies that were installed automatically.
purge-distfiles
Removes all obsolete distfiles in <hostdir>/sources.
show <pkgname>
Show information for the specified package.
@ -648,6 +651,9 @@ case "$XBPS_TARGET" in
list)
$XBPS_QUERY_CMD -l
;;
purge-distfiles)
purge_distfiles
;;
show)
read_pkg
show_pkg