[Fai-commit] r4306 - trunk/bin
lange at alioth.debian.org
lange at alioth.debian.org
Mon Jun 11 09:17:54 UTC 2007
Author: lange
Date: 2007-06-11 09:17:54 +0000 (Mon, 11 Jun 2007)
New Revision: 4306
Modified:
trunk/bin/fcopy
Log:
set mode on file even no file was copied (closes: #360184)
Modified: trunk/bin/fcopy
===================================================================
--- trunk/bin/fcopy 2007-06-10 20:18:40 UTC (rev 4305)
+++ trunk/bin/fcopy 2007-06-11 09:17:54 UTC (rev 4306)
@@ -6,7 +6,7 @@
# fcopy -- copy files using FAI classes and preserve directory structure
#
# This script is part of FAI (Fully Automatic Installation)
-# Copyright (C) 2000-2006 Thomas Lange, lange at informatik.uni-koeln.de
+# Copyright (C) 2000-2007 Thomas Lange, lange at informatik.uni-koeln.de
# Universitaet zu Koeln
#
#*********************************************************************
@@ -27,7 +27,7 @@
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#*********************************************************************
-my $version = "Version 2.2.10, 26-november-2006";
+my $version = "Version 2.2.11, 11-june-2007";
use strict;
use File::Copy;
@@ -163,6 +163,7 @@
if ($preserve) {
warn "preserving $source \n";
_unlink($tmpfile) unless ($tmpfile eq $sourcefile);
+ set_mode($ps,$destfile,$class); # set mode even no file was copied
return;
}
More information about the Fai-commit
mailing list