From f4c3512f4d25879e9551b22bbe82701825a8661c Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Sat, 8 Mar 2025 16:17:20 -0600 Subject: [PATCH] fix: Location of AUR directory --- update-aur-lure.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update-aur-lure.sh b/update-aur-lure.sh index 6f9518c..e9fe67b 100644 --- a/update-aur-lure.sh +++ b/update-aur-lure.sh @@ -22,7 +22,8 @@ VERS="$2" echo "Updating AUR..." cd "$GITDIR/AUR" [ -d "$1" ] && PKG="$1" || PKG="$1-bin" -if [ -d "$1" ]; then # Skip if the directory is missing + +if [ -d "$PKG" ]; then # Skip if the directory is missing cd "$PKG" sed -i -E "s/pkgver=[0-9\.]+/pkgver=$VERS/" PKGBUILD updpkgsums