mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 10:54:36 +08:00
15 lines
332 B
Plaintext
15 lines
332 B
Plaintext
# arg 1: the new package version
|
|
post_install(){
|
|
systemd-sysusers openldap.conf
|
|
systemd-tmpfiles --create openldap.conf
|
|
}
|
|
|
|
# arg 1: the new package version
|
|
# arg 2: the old package version
|
|
post_upgrade() {
|
|
if (( "$(vercmp $2 2.4.42-1)" < 0 )); then
|
|
# install placeholder
|
|
systemd-tmpfiles --create openldap.conf
|
|
fi
|
|
}
|