[yast-commit] r56617 - in /trunk/yast2: library/packages/src/PackageSystem.ycp package/yast2.changes
Author: lslezak Date: Fri Apr 3 13:55:57 2009 New Revision: 56617 URL: http://svn.opensuse.org/viewcvs/yast?rev=56617&view=rev Log: - Do not display "No package source" popup, just log a warning (bnc#485587) Modified: trunk/yast2/library/packages/src/PackageSystem.ycp trunk/yast2/package/yast2.changes Modified: trunk/yast2/library/packages/src/PackageSystem.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/packages/src/PackageSystem.ycp?rev=56617&r1=56616&r2=56617&view=diff ============================================================================== --- trunk/yast2/library/packages/src/PackageSystem.ycp (original) +++ trunk/yast2/library/packages/src/PackageSystem.ycp Fri Apr 3 13:55:57 2009 @@ -86,11 +86,10 @@ { source_initialized = true; } - // ignore the problem when installing from LiveCD - all sources are disabled - else if (!Mode::live_installation()) + else { - /* Error message, no packages sources found */ - Report::Error(_("No package source defined.")); + // all repositories are disabled or no repository defined + y2warning("No package repository available"); } } Modified: trunk/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=56617&r1=56616&r2=56617&view=diff ============================================================================== --- trunk/yast2/package/yast2.changes (original) +++ trunk/yast2/package/yast2.changes Fri Apr 3 13:55:57 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Apr 3 13:26:58 CEST 2009 - lslezak@suse.cz + +- Do not display "No package source" popup, just log a warning + (bnc#485587) + +------------------------------------------------------------------- Fri Apr 3 12:29:54 CEST 2009 - jsrain@suse.cz - save_y2logs additionally collects /var/log/zypper.log and -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn.opensuse.org