dotfiles

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

commit ff729277aad2a2111e187ec3758eaf5a4d956027
parent df60f0ea8718f56bf9d523a02b878d87e3fff718
Author: Szymon Mikulicz <szymon.mikulicz@posteo.net>
Date:   Fri, 10 Apr 2020 18:53:19 +0200

fish: aur-cleanup handle empty repo

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

diff --git a/fish/.config/fish/functions/aur-cleanup.fish b/fish/.config/fish/functions/aur-cleanup.fish @@ -7,7 +7,8 @@ function aur-cleanup cd $repo set reponame (basename $repo) rm $reponame.db* - repo-add -n $reponame.db.tar *.pkg.tar.xz + set pkgs *.pkg.tar.xz + repo-add -n $reponame.db.tar $pkgs end sudo pacman -Sy msg1 "Cleaning aur sync cache..."