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/Snapp... ============================================================================== --- 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
yast-commit@lists.opensuse.org