SOURCES: timezone.init - preserve selinux context

zbyniu zbyniu at pld-linux.org
Tue May 22 00:27:47 CEST 2007


Author: zbyniu                       Date: Mon May 21 22:27:47 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- preserve selinux context

---- Files affected:
SOURCES:
   timezone.init (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SOURCES/timezone.init
diff -u SOURCES/timezone.init:1.7 SOURCES/timezone.init:1.8
--- SOURCES/timezone.init:1.7	Sun Feb 25 01:48:01 2007
+++ SOURCES/timezone.init	Tue May 22 00:27:42 2007
@@ -38,7 +38,7 @@
 			else
 				MESSAGE="`nls 'Setting time zone information (%s)' "$TIME_ZONE"`"
 			fi
-			run_cmd "$MESSAGE" cp -af $ZONE_FILE /etc/localtime
+			run_cmd "$MESSAGE" cp -afc $ZONE_FILE /etc/localtime
 			RETVAL=$?
 		fi
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/timezone.init?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list