dotfiles

:)
git clone https://git.sr.ht/~ashymad/dotfiles
Log | Files | Refs | Submodules | LICENSE

commit 530652fbc1ba7d9ab31f9ee88305db29e3698d91
parent 402045566eef94b3f32fce0f9afcdbb7e1025bc6
Author: Szymon Mikulicz <szymon.mikulicz@posteo.net>
Date:   Tue,  2 Jul 2019 20:29:02 +0200

Use repo-add instead of repose

Diffstat:
Mfish/.config/fish/functions/aur-cleanup.fish | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/fish/.config/fish/functions/aur-cleanup.fish b/fish/.config/fish/functions/aur-cleanup.fish @@ -2,10 +2,12 @@ function aur-cleanup source ~/.config/fish/utils/pacmsg.fish msg1 "Cleaning pacman cache..." sudo pacman -Sc --noconfirm - msg1 "Updating custom repositories..." + msg1 "Rebuilding custom repositories..." for repo in /var/cache/pacman/*custom* cd $repo - repose -zvf (basename $repo) + set reponame (basename $repo) + rm $reponame.db* + repo-add -n $reponame.db.tar *.pkg.tar.xz end sudo pacman -Sy msg1 "Cleaning aur sync cache..."