[yast-commit] r63491 - /branches/tmp/jsuchome/snapper/src/Snapper.ycp
Author: jsuchome Date: Mon Feb 28 14:15:26 2011 New Revision: 63491 URL: http://svn.opensuse.org/viewcvs/yast?rev=63491&view=rev Log: preserve attributes Modified: branches/tmp/jsuchome/snapper/src/Snapper.ycp Modified: branches/tmp/jsuchome/snapper/src/Snapper.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/jsuchome/snapper/src/Snapper.ycp?rev=63491&r1=63490&r2=63491&view=diff ============================================================================== --- branches/tmp/jsuchome/snapper/src/Snapper.ycp (original) +++ branches/tmp/jsuchome/snapper/src/Snapper.ycp Mon Feb 28 14:15:26 2011 @@ -194,7 +194,7 @@ y2milestone ("copying file %1 to %2 (dir: %3)", orig, file, dir); if (FileUtils::CheckAndCreatePath (dir)) { - SCR::Execute (.target.bash, sformat ("/bin/cp %1 %2", orig, file)); + SCR::Execute (.target.bash, sformat ("/bin/cp -a %1 %2", orig, file)); UI::ChangeWidget (`id (`log), `LastLine, file + "\n"); } else -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsuchome@svn2.opensuse.org