summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPopolon2021-09-25 20:27:53 +0200
committerPopolon2021-09-25 20:27:53 +0200
commit49cfd531ae8b8f63d430081f5b36fe14a86976eb (patch)
tree45f9c4f33ee7f4e9155ff1aa74903b60d1d465bc /PKGBUILD
parent12aff2b9acdb819c5b8e1af0bb71ed82750c5d31 (diff)
downloadaur-49cfd531ae8b8f63d430081f5b36fe14a86976eb.tar.gz
make a test of existance before creating the link
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3dad12224e48..dc4e246cb733 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=pixelorama-git
_pkgname=pixelorama
-pkgver=1623.5118d30a
+pkgver=1633.27d42dbd
pkgrel=2
pkgdesc="A free & open-source 2D sprite editor"
arch=('i686' 'pentium4' 'x86_64' 'armv7h' 'armv8' 'riscv32' 'riscv64')
@@ -25,7 +25,10 @@ pkgver()
}
prepare() {
- ln -s pixelorama Pixelorama
+ if [ ! -e Pixelorama ]
+ then
+ ln -s pixelorama Pixelorama
+ fi
# Checks if the user's directory has the export templates
# and downloads them, if necessary