[yast-commit] r67030 - in /branches/SuSE-Code-11-SP2-Branch/pos-installation: ./ package/ src/clients/
Author: jsuchome Date: Mon Dec 12 12:54:49 2011 New Revision: 67030 URL: http://svn.opensuse.org/viewcvs/yast?rev=67030&view=rev Log: - show failure notice when script exits with non-zero (bnc#730186) - 2.17.16 Modified: branches/SuSE-Code-11-SP2-Branch/pos-installation/VERSION branches/SuSE-Code-11-SP2-Branch/pos-installation/package/yast2-pos-installation.changes branches/SuSE-Code-11-SP2-Branch/pos-installation/src/clients/firstboot_slepos_installation.ycp branches/SuSE-Code-11-SP2-Branch/pos-installation/src/clients/firstboot_slepos_synchronization.ycp Modified: branches/SuSE-Code-11-SP2-Branch/pos-installation/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/pos-installation/VERSION?rev=67030&r1=67029&r2=67030&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/pos-installation/VERSION (original) +++ branches/SuSE-Code-11-SP2-Branch/pos-installation/VERSION Mon Dec 12 12:54:49 2011 @@ -1 +1 @@ -2.17.15 +2.17.16 Modified: branches/SuSE-Code-11-SP2-Branch/pos-installation/package/yast2-pos-installation.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/pos-installation/package/yast2-pos-installation.changes?rev=67030&r1=67029&r2=67030&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/pos-installation/package/yast2-pos-installation.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/pos-installation/package/yast2-pos-installation.changes Mon Dec 12 12:54:49 2011 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Dec 12 12:49:22 CET 2011 - jsuchome@suse.cz + +- show failure notice when script exits with non-zero (bnc#730186) +- 2.17.16 + +------------------------------------------------------------------- Fri Dec 9 14:23:49 CET 2011 - jsuchome@suse.cz - selection of synchronization type made as extra step (bnc#730186) Modified: branches/SuSE-Code-11-SP2-Branch/pos-installation/src/clients/firstboot_slepos_installation.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/pos-installation/src/clients/firstboot_slepos_installation.ycp?rev=67030&r1=67029&r2=67030&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/pos-installation/src/clients/firstboot_slepos_installation.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/pos-installation/src/clients/firstboot_slepos_installation.ycp Mon Dec 12 12:54:49 2011 @@ -125,8 +125,13 @@ exit_status = (integer) SCR::Read (.process.status, pid); y2milestone ("exit status of the script: %1", exit_status); UI::ReplaceWidget (`id (`rp_label), - // text label - `Label (`id (`label), `opt (`boldFont), _("Initialization is completed.")) + `Label (`id (`label), `opt (`boldFont), + exit_status == 0 ? + // text label + _("Initialization is completed.") : + // text label + _("Initialization has failed.") + ) ); break; } Modified: branches/SuSE-Code-11-SP2-Branch/pos-installation/src/clients/firstboot_slepos_synchronization.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/pos-installation/src/clients/firstboot_slepos_synchronization.ycp?rev=67030&r1=67029&r2=67030&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/pos-installation/src/clients/firstboot_slepos_synchronization.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/pos-installation/src/clients/firstboot_slepos_synchronization.ycp Mon Dec 12 12:54:49 2011 @@ -113,8 +113,13 @@ integer status = (integer) SCR::Read (.process.status, pid); y2internal ("exit status of the script: %1", status); UI::ReplaceWidget (`id (`rp_label), - // text label - `Label (`id (`label), `opt (`boldFont), _("Synchronization is completed.")) + `Label (`id (`label), `opt (`boldFont), + status == 0 ? + // text label + _("Synchronization is completed.") : + // text label + _("Synchronization has failed.") + ) ); break; } -- 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