[Fai-commit] r4072 - trunk/bin
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Mon Oct 9 23:29:49 UTC 2006
Author: lange
Date: 2006-10-09 23:29:49 +0000 (Mon, 09 Oct 2006)
New Revision: 4072
Modified:
trunk/bin/fcopy
Log:
swap call of postinst and set_mode as requested by M Tautschnig
Modified: trunk/bin/fcopy
===================================================================
--- trunk/bin/fcopy 2006-10-09 16:13:17 UTC (rev 4071)
+++ trunk/bin/fcopy 2006-10-09 23:29:49 UTC (rev 4072)
@@ -27,7 +27,7 @@
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#*********************************************************************
-my $version = "Version 2.2.6, 23-july-2006";
+my $version = "Version 2.2.7, 10-october-2006";
use strict;
use File::Copy;
@@ -180,8 +180,8 @@
(-d $bpath or _mkpath($bpath,$debug,0755)) and _move($destfile,$backupfile));
if (_copy($tmpfile,$destfile)) {
print "fcopy: copied $sourcefile to $destfile\n" ;
+ set_mode($ps,$destfile,$class);
runscript("postinst",$ps,$destfile,$class);
- set_mode($ps,$destfile,$class);
} else {
ewarn("copy $sourcefile to $destfile failed. $!") ;
}
More information about the Fai-commit
mailing list