summarylogtreecommitdiffstats
path: root/cpcache.install
diff options
context:
space:
mode:
authornroi2018-10-19 18:39:54 +0200
committernroi2018-10-19 18:39:54 +0200
commit7fb30fcaa94a62030b0fc8f282f4b2fef2c79723 (patch)
treedf805addeedc24a044412834f044e39d0a1d1018 /cpcache.install
parentb265450cbd1b4b137eedb74aa7b12d2a7432dee9 (diff)
downloadaur-7fb30fcaa94a62030b0fc8f282f4b2fef2c79723.tar.gz
Don't fail if directory already exists
Diffstat (limited to 'cpcache.install')
-rw-r--r--cpcache.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpcache.install b/cpcache.install
index cc493e8bfb68..29becaabc50c 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"
}