summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornroi2018-05-06 12:15:24 +0200
committernroi2018-05-06 12:15:24 +0200
commitb265450cbd1b4b137eedb74aa7b12d2a7432dee9 (patch)
tree493f9b51eaac9a02291ce40dde813756f72939d0
parentf8956b3cb306f10cd0c4edfafe906144bb98520d (diff)
downloadaur-b265450cbd1b4b137eedb74aa7b12d2a7432dee9.tar.gz
Create directory 'state'
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--cpcache.install3
3 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5a58ffe2db3..0be80c44a7a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -15,7 +15,7 @@ pkgbase = cpcache-git
source = cpcache.service
sha256sums = SKIP
sha256sums = 0098e749b19617c0f7d619d47a3bc3015bab62e9ad0916087502daff672fb309
- sha256sums = 146fee184507658acf7feb539db2aa24f3914f408e390618a2dc8be7a2d10512
+ sha256sums = 48d5f54ba7be35264341c5658ff3df336933eba0ecfc08f42a894dda530bea5d
sha256sums = c4007bd6dd055e5edf09d54a840c957b7e5dab45ae85be4b26b41e34e9f63f19
pkgname = cpcache-git
diff --git a/PKGBUILD b/PKGBUILD
index 4f2a30adec8..a0526198ea4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ source=('git+https://github.com/nroi/cpcache.git'
)
sha256sums=('SKIP'
'0098e749b19617c0f7d619d47a3bc3015bab62e9ad0916087502daff672fb309'
- '146fee184507658acf7feb539db2aa24f3914f408e390618a2dc8be7a2d10512'
+ '48d5f54ba7be35264341c5658ff3df336933eba0ecfc08f42a894dda530bea5d'
'c4007bd6dd055e5edf09d54a840c957b7e5dab45ae85be4b26b41e34e9f63f19'
)
diff --git a/cpcache.install b/cpcache.install
index 3c9ac9364d0..cc493e8bfb6 100644
--- a/cpcache.install
+++ b/cpcache.install
@@ -1,8 +1,9 @@
post_install() {
systemd-sysusers cpcache.conf
- chown cpcache:cpcache "/var/lib/cpcache"
mkdir -p /var/cache/cpcache/pkg/{core,extra,multilib,testing,community}/os/x86_64
+ mkdir /var/cache/cpcache/state
chown -R cpcache:cpcache "/var/cache/cpcache"
+ chown cpcache:cpcache "/var/lib/cpcache"
}
post_upgrade() {