PKGBUILDs/extra/ceph/ceph.install
2016-09-10 17:34:45 +00:00

17 lines
359 B
Bash

# vim: ft=sh ts=2 sw=2 et:
# arg 1: the new package version
post_install() {
systemd-sysusers ceph.conf
systemd-tmpfiles --create ceph.conf
}
# 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
}