]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
packaging(RHEL-CTDB): add "service winbind condrestart" to "%post common"
authorMichael Adam <obnox@samba.org>
Fri, 23 May 2008 11:44:13 +0000 (13:44 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 13 Aug 2008 09:54:03 +0000 (11:54 +0200)
Michael

packaging/RHEL-CTDB/samba.spec

index 189821da49c6f8a1e37685cf78ecfa270bb02aed..e76dce8e16bc2a863c79f303c5fe89eeae5629b5 100644 (file)
@@ -360,6 +360,10 @@ fi
 %post common
 /sbin/ldconfig
 
+if [ "$1" -ge "1" ]; then
+       /sbin/service winbind condrestart >/dev/null 2>&1 || :
+fi
+
 %preun common
 if [ $1 = 0 ] ; then
     /sbin/service winbind stop >/dev/null 2>&1 || :