summaryrefslogtreecommitdiffstats
path: root/abs/extra/samba/samba.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-04-10 18:01:25 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-04-10 18:01:25 (GMT)
commit22b2ce74724dcd4bcef56c29b2e27e3e5faa2db2 (patch)
tree479d2d6d0c755be0b8cfa0f2c6c728e4a68eb2fe /abs/extra/samba/samba.install
parentb5b6b297d572ed222d16407aa127e4ca9b5bdd5b (diff)
downloadlinhes_pkgbuild-22b2ce74724dcd4bcef56c29b2e27e3e5faa2db2.zip
linhes_pkgbuild-22b2ce74724dcd4bcef56c29b2e27e3e5faa2db2.tar.gz
linhes_pkgbuild-22b2ce74724dcd4bcef56c29b2e27e3e5faa2db2.tar.bz2
samba: update to 4.1.6. refs #961
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: