Fixed bz #134399 so directories aren't removed if they were not created.
This commit is contained in:
parent
5b101711f5
commit
7110bd48c2
@ -4,7 +4,7 @@
|
||||
Summary: A tool for automatically mounting and unmounting filesystems.
|
||||
Name: autofs
|
||||
%define version 4.1.3
|
||||
%define release 76
|
||||
%define release 80
|
||||
Version: %{version}
|
||||
Release: %{release}
|
||||
Epoch: 1
|
||||
@ -47,6 +47,7 @@ Patch41: autofs-4.1.3-replicated-server-select.patch
|
||||
Patch42: autofs-4.1.3-ian-map-expiry-multimount-fix.patch
|
||||
Patch43: autofs-4.1.3-yp-direct-lookup.patch
|
||||
Patch44: autofs-4.1.3-filestream-leak.patch
|
||||
Patch45: autofs-4.1.3-no-rmdir.patch
|
||||
Buildroot: /var/tmp/autofs-tmp
|
||||
BuildPrereq: autoconf, hesiod-devel, openldap-devel, perl
|
||||
Prereq: chkconfig
|
||||
@ -120,6 +121,7 @@ echo %{version}-%{release} > .version
|
||||
%patch42 -p1 -b .expire-multi
|
||||
%patch43 -p1 -b .yp-direct-lookup
|
||||
%patch44 -p1 -b .filestream-leak
|
||||
%patch45 -p1 -b .no-rmdir
|
||||
cp $RPM_SOURCE_DIR/autofs.sysconfig .
|
||||
|
||||
%build
|
||||
@ -173,6 +175,11 @@ exit 0
|
||||
%{_libdir}/autofs/*
|
||||
|
||||
%changelog
|
||||
* Mon Jan 24 2005 Chris Feist <cfeist@redhat.com> - 1:4.3-80
|
||||
- Added a variable to determine if we created the directory or not
|
||||
so we don't accidently remove a directory that we didn't create when
|
||||
we stop autofs. (bz #134399)
|
||||
|
||||
* Tue Jan 11 2005 Jeff Moyer <jmoyer@redhat.com> - 1:4.1.3-76
|
||||
- Fix the large program map patch.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user