From b528e2abdfb8bc059130496cdea6634697305f1d Mon Sep 17 00:00:00 2001
From: SinTan1729 <sayantan.santra689@gmail.com>
Date: Mon, 29 May 2023 20:22:00 -0500
Subject: [PATCH] fix: Ask before removing files

---
 update-aur-lure.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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