mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
16 lines
359 B
Bash
16 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
|
|
}
|