mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:47:13 +08:00
15 lines
329 B
Bash
15 lines
329 B
Bash
#!/bin/sh
|
|
|
|
post_install() {
|
|
systemd-tmpfiles --create samba.conf
|
|
}
|
|
|
|
post_upgrade() {
|
|
if [ "$(vercmp $2 4.0.4)" -lt 0 ]; then
|
|
echo "Major upgrade from samba 3.x to 4.x,"
|
|
echo "please read the Samba4 migration guide:"
|
|
echo "http://wiki.samba.org/index.php/Samba4/samba3upgrade/HOWTO"
|
|
fi
|
|
}
|
|
# vim:set ts=2 sw=2 et:
|