Browse Source

[TASK] use makepkg --clean to remove stuff in $scrdir

master
Dor dicke Gind 2 years ago
parent
commit
e9db35a0ad
  1. 2
      makepkg-and-update-db.sh

2
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 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 ... #fixes issue with makepkg ... git repo is not a clone of ...
unset GIT_DIR 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 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/ cp -n $name*.pkg.tar.zst /mnt/pi-usb-ssd/gind-repo/x86_64/
} }

Loading…
Cancel
Save