diff options
author | Jamin W. Collins | 2017-02-09 13:23:03 -0800 |
---|---|---|
committer | Jamin W. Collins | 2017-02-09 13:23:03 -0800 |
commit | 59bf934bb65c2a556afa0a9eb228708fc37a556d (patch) | |
tree | 95b23ecb9ab21195439a9e7c846453c74061936e /ceph.install | |
parent | 4f5067c2a3bc44b796b8837e96e7a31a75e39230 (diff) | |
download | aur-59bf934bb65c2a556afa0a9eb228708fc37a556d.tar.gz |
updating package build for current upstream
- explicitly listing upstream submodules as sources
- adjust for upstream's apparent switch to cmake
Signed-off-by: Jamin W. Collins <jcollins@asgardsrealm.net>
Diffstat (limited to 'ceph.install')
-rw-r--r-- | ceph.install | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/ceph.install b/ceph.install index 86ef79080ec0..c01ba8db56a6 100644 --- a/ceph.install +++ b/ceph.install @@ -1,9 +1,16 @@ +# vim: ft=sh ts=2 sw=2 et: + +# arg 1: the new package version post_install() { - mkdir /var/run/ceph + systemd-sysusers ceph.conf + systemd-tmpfiles --create ceph.conf } -pre_remove() { - rmdir --ignore-fail-on-non-empty /var/run/ceph +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + if (( "$(vercmp $2 '10.2.2-1')" < 0 )); then + systemd-sysusers ceph.conf + systemd-tmpfiles --create ceph.conf + fi } - -# vim:set ts=2 sw=2 et: |