summarylogtreecommitdiffstats
path: root/cpcache.install
diff options
context:
space:
mode:
authornroi2016-12-18 22:24:39 +0100
committernroi2016-12-18 22:51:52 +0100
commit8217b98dfa8c75e74db6a2deb5d896fcc53b32da (patch)
tree000b216dd1b72aff44cd00eb9aa5f275954274e6 /cpcache.install
downloadaur-8217b98dfa8c75e74db6a2deb5d896fcc53b32da.tar.gz
Initial commit
Diffstat (limited to 'cpcache.install')
-rw-r--r--cpcache.install10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpcache.install b/cpcache.install
new file mode 100644
index 000000000000..7d2d64654a04
--- /dev/null
+++ b/cpcache.install
@@ -0,0 +1,10 @@
+post_install() {
+ systemd-sysusers cpcache.conf
+ chown cpcache:cpcache "/var/lib/cpcache"
+ mkdir -p /var/cache/cpcache/{x86,arm}/{core,extra,multilib,testing,community}/os/{i686,x86_64}/downloads
+ chown -R cpcache:cpcache "/var/cache/cpcache"
+}
+
+post_upgrade() {
+ systemd-sysusers cpcache.conf
+}