commit 11ec8cf3eac173a2fa6fef0c0dadf363e9bc16d1 parent 28cb9274f1db32c621ac771debd906bb64adab67 Author: Szymon Mikulicz <szymon.mikulicz@posteo.net> Date: Thu, 4 Jul 2019 14:34:19 +0200 Merge branch 'master' into notwobug Diffstat:
| M | fish/.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..."