SPECS: man.spec - use "-d" option of tmpwatch - do not remove dire...

blues blues at pld-linux.org
Sun Feb 4 18:09:57 CET 2007


Author: blues                        Date: Sun Feb  4 17:09:57 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use "-d" option of tmpwatch - do not remove directories, even if these
  are empty.

---- Files affected:
SPECS:
   man.spec (1.137 -> 1.138) 

---- Diffs:

================================================================
Index: SPECS/man.spec
diff -u SPECS/man.spec:1.137 SPECS/man.spec:1.138
--- SPECS/man.spec:1.137	Thu Nov 23 22:19:55 2006
+++ SPECS/man.spec	Sun Feb  4 18:09:51 2007
@@ -307,7 +307,7 @@
 	fi
 	for cdir in '' /local /X11R6 ; do
 		install -d $RPM_BUILD_ROOT/var/cache/man${cdir}$i/cat{1,2,3,4,5,6,7,8,9,n}
-		echo "/var/cache/man${cdir}$i 240" >> $RPM_BUILD_ROOT/etc/tmpwatch/man.conf
+		echo "/var/cache/man${cdir}$i 240 -d" >> $RPM_BUILD_ROOT/etc/tmpwatch/man.conf
 		echo "${lng}%dir /var/cache/man${cdir}$i" >> man.lang
 		echo "${lng}%attr(775,root,man) /var/cache/man${cdir}$i/cat[1-9n]" >> man.lang
 	done
@@ -586,6 +586,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.138  2007/02/04 17:09:51  blues
+- use "-d" option of tmpwatch - do not remove directories, even if these
+  are empty.
+
 Revision 1.137  2006/11/23 21:19:55  qboosh
 - added cache dir for ca manuals, release 5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/man.spec?r1=1.137&r2=1.138&f=u



More information about the pld-cvs-commit mailing list