* Sun Feb 26 2012 Ian Kent <knt@redhat.com> - 1:5.0.6-13

- fix error in %post scriplet.
This commit is contained in:
Ian Kent 2012-02-26 14:57:40 +08:00
parent 1003b15237
commit 5cc6fcc031

View File

@ -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@redhat.com> - 1:5.0.6-13
- fix error in %post scriplet.
* Fri Feb 24 2012 Ian Kent <knt@redhat.com> - 1:5.0.6-12
- ignore duplicate exports in auto.net.
- add kernel verion check function.