[samba/f18] Fix typo in winbind-krb-locator post uninstall script.

asn asn at fedoraproject.org
Tue Dec 11 21:31:27 UTC 2012


commit 706696cf0f303c4e3ef4faf99cf800ddee89ff02
Author: Andreas Schneider <asn at cryptomilk.org>
Date:   Thu Dec 6 17:50:56 2012 +0100

    Fix typo in winbind-krb-locator post uninstall script.

 samba.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/samba.spec b/samba.spec
index 1bd8465..1d280a4 100644
--- a/samba.spec
+++ b/samba.spec
@@ -1,7 +1,7 @@
 # Set --with testsuite or %bcond_without to run the Samba torture testsuite.
 %bcond_with testsuite
 
-%define main_release 170
+%define main_release 171
 
 %define samba_version 4.0.0
 %define talloc_version 2.0.7
@@ -665,7 +665,7 @@ TDB_NO_FSYNC=1 make %{?_smp_mflags} test
 %postun winbind-krb5-locator
 if [ "$1" -ge "1" ]; then
         if [ "`readlink %{_sysconfdir}/alternatives/winbind_krb5_locator.so`" == "%{_libdir}/winbind_krb5_locator.so" ]; then
-                %{_sbindir}/alternatives --set winbind_krb5_locator %{_libdir}/winbind_krb5_locator.so
+                %{_sbindir}/update-alternatives --set winbind_krb5_locator %{_libdir}/winbind_krb5_locator.so
         fi
 fi
 
@@ -1322,6 +1322,9 @@ rm -rf %{buildroot}
 %{_mandir}/man7/winbind_krb5_locator.7*
 
 %changelog
+* Thu Dec 06 2012 - Andreas Schneider <asn at redhat.com> - 2:4.0.0-171.rc6
+- Fix typo in winbind-krb-locator post uninstall script.
+
 * Tue Dec 04 2012 - Andreas Schneider <asn at redhat.com> - 2:4.0.0-170.rc6
 - Update to Samba 4.0.0rc6.
 - Add /etc/pam.d/samba for swat to work correctly.


More information about the scm-commits mailing list