diff options
author | Popolon | 2021-09-25 20:27:53 +0200 |
---|---|---|
committer | Popolon | 2021-09-25 20:27:53 +0200 |
commit | 49cfd531ae8b8f63d430081f5b36fe14a86976eb (patch) | |
tree | 45f9c4f33ee7f4e9155ff1aa74903b60d1d465bc | |
parent | 12aff2b9acdb819c5b8e1af0bb71ed82750c5d31 (diff) | |
download | aur-49cfd531ae8b8f63d430081f5b36fe14a86976eb.tar.gz |
make a test of existance before creating the link
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = pixelorama-git pkgdesc = A free & open-source 2D sprite editor - pkgver = 1623.5118d30a + pkgver = 1633.27d42dbd pkgrel = 2 url = https://orama-interactive.itch.io/pixelorama arch = i686 @@ -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 |