[autofs/f17] * Sun Feb 26 2012 Ian Kent <knt at redhat.com> - 1:5.0.6-13 - fix error in %post scriplet.

Ian Kent iankent at fedoraproject.org
Sun Feb 26 06:58:02 UTC 2012


commit 5cc6fcc0312ebbaca5d6199875c02f54e069a957
Author: Ian Kent <raven at themaw.net>
Date:   Sun Feb 26 14:57:40 2012 +0800

    * Sun Feb 26 2012 Ian Kent <knt at redhat.com> - 1:5.0.6-13
    - fix error in %post scriplet.

 autofs.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/autofs.spec b/autofs.spec
index 8eaaeb8..7d671fa 100644
--- a/autofs.spec
+++ b/autofs.spec
@@ -8,7 +8,7 @@
 Summary: A tool for automatically mounting and unmounting filesystems
 Name: autofs
 Version: 5.0.6
-Release: 12%{?dist}
+Release: 13%{?dist}
 Epoch: 1
 License: GPLv2+
 Group: System Environment/Daemons
@@ -176,6 +176,7 @@ if [ $1 -eq 1 ]; then
 	%{_bindir}/systemctl daemon-reload >/dev/null 2>&1 || :
 	# autofs has been approved to be enabled by default
 	%{_bindir}/systemctl enable %{name}.service >/dev/null 2>&1 || :
+fi
 %else
 if [ $1 -eq 1 ]; then
 	%{_sbindir}/sbin/chkconfig --add autofs
@@ -237,6 +238,9 @@ fi
 %dir /etc/auto.master.d
 
 %changelog
+* Sun Feb 26 2012 Ian Kent <knt at redhat.com> - 1:5.0.6-13
+- fix error in %post scriplet.
+
 * Fri Feb 24 2012 Ian Kent <knt at redhat.com> - 1:5.0.6-12
 - ignore duplicate exports in auto.net.
 - add kernel verion check function.


More information about the scm-commits mailing list