auto-import changelog data from am-utils-6.0.9-9.src.rpm
Wed Sep 01 2004 Nalin Dahyabhai <nalin@redhat.com> 6.0.9-9 - really fix %preun this time
This commit is contained in:
parent
9042c98efa
commit
e51b726480
|
@ -1,7 +1,7 @@
|
||||||
Summary: Automount utilities including an updated version of Amd.
|
Summary: Automount utilities including an updated version of Amd.
|
||||||
Name: am-utils
|
Name: am-utils
|
||||||
Version: 6.0.9
|
Version: 6.0.9
|
||||||
Release: 8
|
Release: 9
|
||||||
License: BSD
|
License: BSD
|
||||||
Epoch: 5
|
Epoch: 5
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
|
@ -87,13 +87,16 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
# Check if we have an old fashioned amd.conf and rename if to amd.net
|
# Check if we have an old fashioned amd.conf and rename if to amd.net
|
||||||
if [ "$1" -ne "0" ] ; then
|
if [ "$1" -ne 0 ] ; then
|
||||||
if grep -q "auto_dir" /etc/amd.conf 2>/dev/null ; then
|
if ! test -r /etc/amd.conf ; then
|
||||||
|
# this is okay
|
||||||
|
exit 0
|
||||||
|
elif grep -q "auto_dir" /etc/amd.conf 2>/dev/null ; then
|
||||||
# this is okay
|
# this is okay
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
# this needs to be renamed. Still, if /etc/amd.net exists, then
|
# this needs to be renamed. Still, if /etc/amd.net exists, then
|
||||||
# don't bother renamig it. RPM will handle it better than us here.
|
# don't bother renaming it. RPM will handle it better than us here.
|
||||||
if [ -e /etc/amd.net ] ; then
|
if [ -e /etc/amd.net ] ; then
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
|
@ -109,7 +112,7 @@ exit 0
|
||||||
/sbin/install-info %{_infodir}/am-utils.info.gz %{_infodir}/dir
|
/sbin/install-info %{_infodir}/am-utils.info.gz %{_infodir}/dir
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 -ne 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
/sbin/install-info --delete %{_infodir}/am-utils.info.gz %{_infodir}/dir
|
/sbin/install-info --delete %{_infodir}/am-utils.info.gz %{_infodir}/dir
|
||||||
/sbin/service amd stop >/dev/null 2>&1
|
/sbin/service amd stop >/dev/null 2>&1
|
||||||
/sbin/chkconfig --del amd
|
/sbin/chkconfig --del amd
|
||||||
|
@ -139,6 +142,9 @@ fi
|
||||||
%{_libdir}/libamu.so.*
|
%{_libdir}/libamu.so.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 1 2004 Nalin Dahyabhai <nalin@redhat.com> 6.0.9-9
|
||||||
|
- really fix %%preun this time
|
||||||
|
|
||||||
* Tue Aug 31 2004 Nalin Dahyabhai <nalin@redhat.com> 6.0.9-8
|
* Tue Aug 31 2004 Nalin Dahyabhai <nalin@redhat.com> 6.0.9-8
|
||||||
- rebuild
|
- rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue