From e9db35a0ada0d2cc595d7dac1ce374dd590c4461 Mon Sep 17 00:00:00 2001 From: Dor dicke Gind Date: Fri, 15 Jul 2022 20:35:42 +0200 Subject: [PATCH] [TASK] use makepkg --clean to remove stuff in $scrdir --- makepkg-and-update-db.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepkg-and-update-db.sh b/makepkg-and-update-db.sh index 08ab198..29a6afe 100755 --- a/makepkg-and-update-db.sh +++ b/makepkg-and-update-db.sh @@ -12,7 +12,7 @@ makepkg_bash_func() { notify-send "Start makepkg for $name" -p -t $expireTimeNotifyOSD -r $currentId -i software-update-available > $tmpFile #fixes issue with makepkg ... git repo is not a clone of ... unset GIT_DIR - makepkg + makepkg --clean repo-add /mnt/pi-usb-ssd/gind-repo/x86_64/gind-repo.db.tar.gz $name*.pkg.tar.zst cp -n $name*.pkg.tar.zst /mnt/pi-usb-ssd/gind-repo/x86_64/ }