summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornroi2018-10-19 18:39:54 +0200
committernroi2018-10-19 18:39:54 +0200
commit7fb30fcaa94a62030b0fc8f282f4b2fef2c79723 (patch)
treedf805addeedc24a044412834f044e39d0a1d1018
parentb265450cbd1b4b137eedb74aa7b12d2a7432dee9 (diff)
downloadaur-7fb30fcaa94a62030b0fc8f282f4b2fef2c79723.tar.gz
Don't fail if directory already exists
-rw-r--r--.SRCINFO2
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD4
-rw-r--r--cpcache.install2
4 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0be80c44a7a..9d0405464b0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -15,7 +15,7 @@ pkgbase = cpcache-git
source = cpcache.service
sha256sums = SKIP
sha256sums = 0098e749b19617c0f7d619d47a3bc3015bab62e9ad0916087502daff672fb309
- sha256sums = 48d5f54ba7be35264341c5658ff3df336933eba0ecfc08f42a894dda530bea5d
+ sha256sums = 3a2c1155a6fc50be959be17f9c2339455c30bb85939263b29bb2ae5792d69037
sha256sums = c4007bd6dd055e5edf09d54a840c957b7e5dab45ae85be4b26b41e34e9f63f19
pkgname = cpcache-git
diff --git a/.gitignore b/.gitignore
index aa63b6449ac..3d3ae8ab0b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
-/cpcache-git*xz
+/cpcache-git*.xz
+/cpcache-git*.tar
/cpcache/
/pkg/
/src/
diff --git a/PKGBUILD b/PKGBUILD
index a0526198ea4..fd67b3830de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: nroi <nroi@mailbox.org>
pkgname=cpcache-git
-pkgver=r160.a298d16
+pkgver=r299.0e7405b
pkgrel=1
pkgdesc="central pacman cache"
arch=('x86_64')
@@ -16,7 +16,7 @@ source=('git+https://github.com/nroi/cpcache.git'
)
sha256sums=('SKIP'
'0098e749b19617c0f7d619d47a3bc3015bab62e9ad0916087502daff672fb309'
- '48d5f54ba7be35264341c5658ff3df336933eba0ecfc08f42a894dda530bea5d'
+ '3a2c1155a6fc50be959be17f9c2339455c30bb85939263b29bb2ae5792d69037'
'c4007bd6dd055e5edf09d54a840c957b7e5dab45ae85be4b26b41e34e9f63f19'
)
diff --git a/cpcache.install b/cpcache.install
index cc493e8bfb6..29becaabc50 100644
--- a/cpcache.install
+++ b/cpcache.install
@@ -1,7 +1,7 @@
post_install() {
systemd-sysusers cpcache.conf
mkdir -p /var/cache/cpcache/pkg/{core,extra,multilib,testing,community}/os/x86_64
- mkdir /var/cache/cpcache/state
+ mkdir -p /var/cache/cpcache/state
chown -R cpcache:cpcache "/var/cache/cpcache"
chown cpcache:cpcache "/var/lib/cpcache"
}