[yast-commit] r62840 - in /trunk/yast2: library/system/src/FileChanges.ycp package/yast2.changes
Author: mzugec Date: Fri Nov 12 10:45:30 2010 New Revision: 62840 URL: http://svn.opensuse.org/viewcvs/yast?rev=62840&view=rev Log: FileChanges: test rpm command exit value Modified: trunk/yast2/library/system/src/FileChanges.ycp trunk/yast2/package/yast2.changes Modified: trunk/yast2/library/system/src/FileChanges.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/system/src/FileChan... ============================================================================== --- trunk/yast2/library/system/src/FileChanges.ycp (original) +++ trunk/yast2/library/system/src/FileChanges.ycp Fri Nov 12 10:45:30 2010 @@ -87,7 +87,7 @@ map out = (map)SCR::Execute (.target.bash_output, cmd); string package = out["stdout"]:""; y2milestone ("Package owning %1: %2", file, package); - if (package == "") + if (package == "" || out["exit"]:-1 != 0) return false; cmd = sformat ("rpm -V %1 |grep ' %2$'", package, file); out = (map)SCR::Execute (.target.bash_output, cmd); Modified: trunk/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/package/yast2.changes?rev=6... ============================================================================== --- trunk/yast2/package/yast2.changes (original) +++ trunk/yast2/package/yast2.changes Fri Nov 12 10:45:30 2010 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Fri Nov 12 10:23:17 CET 2010 - mzugec@suse.cz + +- FileChanges: test rpm command exit value + +------------------------------------------------------------------- Fri Nov 5 12:40:03 UTC 2010 - lslezak@suse.cz - PackageCallbacks: removed the retry/abort/skip dialog from -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
mzugec@svn2.opensuse.org