[PC-BSD Commits] r21449 - pcbsd/current/src-qt4/pc-updategui

svn at pcbsd.org svn at pcbsd.org
Mon Feb 11 09:21:24 PST 2013


Author: kris
Date: 2013-02-11 17:21:24 +0000 (Mon, 11 Feb 2013)
New Revision: 21449

Modified:
   pcbsd/current/src-qt4/pc-updategui/mainWin.cpp
Log:

Fix a bug parsing output of pc-updatemanager



Modified: pcbsd/current/src-qt4/pc-updategui/mainWin.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-updategui/mainWin.cpp	2013-02-11 17:04:13 UTC (rev 21448)
+++ pcbsd/current/src-qt4/pc-updategui/mainWin.cpp	2013-02-11 17:21:24 UTC (rev 21449)
@@ -436,7 +436,7 @@
          continue;
       }
 
-      if ( line.indexOf("To install this update") == 0) {
+      if ( line.indexOf("To install:") == 0) {
          up.clear();
 	 up << name << type << version << date << tag << url;
 	 listUpdates.append(up);
@@ -470,7 +470,7 @@
          url = line.replace("DETAILS: ", "");
          continue;
       }
-      if ( line.indexOf("To install this update") == 0) {
+      if ( line.indexOf("To install:") == 0) {
 	 // TODO add this update to list
          up.clear();
 	 up << name << type << date << tag << size << sa << rr << url;



More information about the Commits mailing list