diff options
author | Ivan Fonseca | 2018-03-15 00:14:35 -0400 |
---|---|---|
committer | Ivan Fonseca | 2018-03-15 00:14:35 -0400 |
commit | 4d42740c658126dfb663efc67855f1ef5fce3667 (patch) | |
tree | 42572805d72139e4d9eec3a1875cc78d1890256e | |
parent | 4e79a7c1e366ed18c66ccea884beeebab97b557f (diff) | |
download | aur-4d42740c658126dfb663efc67855f1ef5fce3667.tar.gz |
Fix problem creating directory
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = tekaim pkgdesc = A simple tool to take and upload screenshots to teknik.io pkgver = 1.2.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/IvanFon/tekaim arch = any license = GPL3 @@ -9,7 +9,7 @@ pkgbase = tekaim depends = curl depends = xclip source = https://github.com/IvanFon/tekaim/releases/download/1.2.0/tekaim-1.2.0.tar.gz - sha256sums = 95be027d1508f38a847409b65d4c64f09f7f47f720c4413cefc594efaa0f5d70 + sha256sums = d67a9a5f7f689e6d0a2524c623f929c40c0e5a9231e7d184acab5c49bbae6a8c pkgname = tekaim @@ -2,7 +2,7 @@ pkgname=tekaim pkgver=1.2.0 -pkgrel=1 +pkgrel=2 pkgdesc='A simple tool to take and upload screenshots to teknik.io' arch=(any) url='https://github.com/IvanFon/tekaim' @@ -14,8 +14,8 @@ sha256sums=('d67a9a5f7f689e6d0a2524c623f929c40c0e5a9231e7d184acab5c49bbae6a8c') package() { cd "$srcdir/$pkgname-$pkgver" - # Create tekaim directory - mkdir ~/.tekaim/ + # Create tekaim directory if it doesn't exist + [ -d ~/.tekaim ] || mkdir ~/.tekaim # Copy config cp config.json ~/.tekaim/ # Install tekaim |