diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = go-ipfs-git pkgdesc = A peer-to-peer hypermedia distribution protocol pkgver = 0.13.0rc1.r18.ga72753bad - pkgrel = 2 + pkgrel = 3 url = https://github.com/ipfs/go-ipfs install = go-ipfs-git.install arch = i686 @@ -13,7 +13,7 @@ DEBUG=0 _pkgname=go-ipfs pkgname=$_pkgname-git pkgver=0.13.0rc1.r18.ga72753bad -pkgrel=2 +pkgrel=3 pkgdesc='A peer-to-peer hypermedia distribution protocol' url="https://github.com/ipfs/$_pkgname" @@ -49,9 +49,9 @@ prepare() { cd "$srcdir/.." # check if it was wiped due to enabled optimizations - if [ ! -f "./go/wiped" ]; then - chmod u+w -R "./go" - rm -fdR ./go + if [ ! -f "./go/wiped" ] && [ -d "./go" ]; then + chmod u+w -R "./go" 2>/dev/null || true + rm -fdR ./go 2>/dev/null || true fi mkdir -p "go" |