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

- fix error in %post scriplet.
This commit is contained in:
Ian Kent 2012-02-26 15:10:11 +08:00
parent 3e9eda5444
commit a844a9d89f

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,7 +238,10 @@ fi
%dir /etc/auto.master.d
%changelog
* Fri Feb 24 2012 Ian Kent <knt@redhat.com> - 1:5.0.6-12
* Sun Feb 26 2012 Ian Kent <ikent@redhat.com> - 1:5.0.6-13
- fix error in %post scriplet.
* Fri Feb 24 2012 Ian Kent <ikent@redhat.com> - 1:5.0.6-12
- ignore duplicate exports in auto.net.
- add kernel verion check function.
- add function to check mount.nfs version.