fish: clean repo on reload

master
an 2019-11-04 21:12:57 -05:00
parent 9ec91ddbc0
commit c1cb544af2
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,10 @@
# vim: syntax=fish:
function xrreload -d "Reload all packages into the package repository"
xbps-rindex -f --add "$XBPS_HOSTDIR"/binpkgs/*.xbps
set repo "$XBPS_HOSTDIR"/binpkgs
xbps-rindex -f -c "$repo"
xbps-rindex -f -r "$repo"
xbps-rindex -f -a "$repo"/*.xbps
end
function xrsync -d "Upload voidlinux package repository"