diff options
author | Geoffrey Frogeye | 2017-04-30 09:53:05 +0200 |
---|---|---|
committer | Geoffrey Frogeye | 2017-04-30 09:53:05 +0200 |
commit | 7ace1aaeaa5a09881176e439734e395274d4f0fd (patch) | |
tree | af4a63c63033ffbdd3cf9960e696e5103f3a8e16 /sheepit-client.install | |
parent | 149fb4e871a847507f16e99c82e54ee2d3a024a1 (diff) | |
download | aur-7ace1aaeaa5a09881176e439734e395274d4f0fd.tar.gz |
Update for 5.0
Diffstat (limited to 'sheepit-client.install')
-rw-r--r-- | sheepit-client.install | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sheepit-client.install b/sheepit-client.install index ef6ab2c0657d..b611d967794b 100644 --- a/sheepit-client.install +++ b/sheepit-client.install @@ -1,4 +1,8 @@ post_install() { systemd-sysusers sheepit-client.conf - [[ -d /var/lib/sheepit-client ]] || install -dm 700 -o sheepit-client -g sheepit-client /var/lib/sheepit-client +} + +post_upgrade() { + [[ -d /var/lib/sheepit-client ]] && echo "sheepit-client now uses /var/cache/sheepit-client as a default cache directory. You may want to remove /var/lib/sheepit-client." + [[ -d /var/cache/sheepit-client ]] || install -dm 755 -o sheepit-client -g sheepit-client /var/cache/sheepit-client } |