From c1cb544af2d2f112454b98f5dd2bbdbccb15a744 Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Mon, 4 Nov 2019 21:12:57 -0500 Subject: [PATCH] fish: clean repo on reload --- fish/void-repo | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fish/void-repo b/fish/void-repo index f7548a4..c96cfad 100644 --- a/fish/void-repo +++ b/fish/void-repo @@ -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"