1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-26 13:18:35 -06:00

fix: Ask before removing files

This commit is contained in:
Sayantan Santra 2023-05-29 20:22:00 -05:00
parent 73bcd1ee3c
commit b528e2abdf
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -24,7 +24,7 @@ updpkgsums
makepkg --printsrcinfo >.SRCINFO makepkg --printsrcinfo >.SRCINFO
# Remove downloaded files # Remove downloaded files
ls | grep -v PKGBUILD | xargs -r -I {} rm "{}" ls | grep -v PKGBUILD | xargs -r -I {} rm -i "{}"
git add . git add .
git commit -m "Bumped $PKG version to $VERS" git commit -m "Bumped $PKG version to $VERS"
git push git push
@ -46,7 +46,7 @@ sed -i -E "s/pkgver=[0-9\.]+/pkgver=$VERS/" lure.sh
update-lure-checksums.py update-lure-checksums.py
# Remove downloaded files # Remove downloaded files
ls | grep -v lure.sh | xargs -r -I {} rm "{}" ls | grep -v lure.sh | xargs -r -I {} rm -i "{}"
git add . git add .
git commit -m "Bumped $PKG version to $VERS" git commit -m "Bumped $PKG version to $VERS"
git push git push