summaryrefslogtreecommitdiffstats
path: root/abs/extra/samba/samba.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/samba/samba.install')
-rw-r--r--abs/extra/samba/samba.install9
1 files changed, 8 insertions, 1 deletions
diff --git a/abs/extra/samba/samba.install b/abs/extra/samba/samba.install
index d9baeac..420643f 100644
--- a/abs/extra/samba/samba.install
+++ b/abs/extra/samba/samba.install
@@ -1,7 +1,14 @@
#!/bin/sh
post_install() {
- systemd-tmpfiles --create /usr/lib/tmpfiles.d/samba.conf
+ 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: