[yast-commit] r66970 - in /branches/SuSE-Code-11-SP2-Branch/autoinstallation: VERSION package/autoyast2.changes src/dialogs/ask.ycp
Author: ug Date: Tue Nov 29 15:07:36 2011 New Revision: 66970 URL: http://svn.opensuse.org/viewcvs/yast?rev=66970&view=rev Log: log ask-scripts only if debug is set to true (bnc#732359) Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/VERSION branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/dialogs/ask.ycp Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/autoinstallation/VERSION?rev=66970&r1=66969&r2=66970&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/autoinstallation/VERSION (original) +++ branches/SuSE-Code-11-SP2-Branch/autoinstallation/VERSION Tue Nov 29 15:07:36 2011 @@ -1 +1 @@ -2.17.54 +2.17.55 Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes?rev=66970&r1=66969&r2=66970&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/autoinstallation/package/autoyast2.changes Tue Nov 29 15:07:36 2011 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Nov 29 15:02:07 CET 2011 - ug@suse.de + +- log ask-scripts only if debug is set to true + (bnc#732359) + +------------------------------------------------------------------- Tue Nov 29 13:50:32 CET 2011 - ug@suse.de - resolving names for by-path, by-id, .... is done by Modified: branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/dialogs/ask.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/dialogs/ask.ycp?rev=66970&r1=66969&r2=66970&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/dialogs/ask.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/autoinstallation/src/dialogs/ask.ycp Tue Nov 29 15:07:36 2011 @@ -275,7 +275,11 @@ } else { executionString = sformat("/bin/sh %1 %2 2&> %3/%4.log ", debug, scriptPath, current_logdir, scriptName ); } - y2milestone("Script Execution command: %1", executionString ); + if( debug != "" ) { + y2milestone("Script Execution command: %1", executionString ); + } else { + y2debug("Script Execution command: %1", executionString ); + } runAgain = runAgain + (integer)SCR::Execute (.target.bash, executionString); if( script["rerun_on_error"]:false == false ) runAgain = 0; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
ug@svn2.opensuse.org