fish: clean repo on reload
parent
9ec91ddbc0
commit
c1cb544af2
|
@ -1,7 +1,10 @@
|
||||||
# vim: syntax=fish:
|
# vim: syntax=fish:
|
||||||
|
|
||||||
function xrreload -d "Reload all packages into the package repository"
|
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
|
end
|
||||||
|
|
||||||
function xrsync -d "Upload voidlinux package repository"
|
function xrsync -d "Upload voidlinux package repository"
|
||||||
|
|
Loading…
Reference in New Issue