1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2025-04-04 10:28:04 -05:00

fix: Location of AUR directory

This commit is contained in:
Sayantan Santra 2025-03-08 16:17:20 -06:00
parent 88e4defe34
commit f4c3512f4d
Signed by: SinTan1729
GPG key ID: 0538DD402EA50898

View file

@ -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