[PC-BSD Commits] r5217 - pcbsd/trunk/PBIdelete

svn at pcbsd.org svn at pcbsd.org
Wed Dec 2 13:05:20 PST 2009


Author: kris
Date: 2009-12-02 13:05:20 -0800 (Wed, 02 Dec 2009)
New Revision: 5217

Modified:
   pcbsd/trunk/PBIdelete/main.cpp
Log:

Updated pbidelete and how it reads pbi names / lists versions



Modified: pcbsd/trunk/PBIdelete/main.cpp
===================================================================
--- pcbsd/trunk/PBIdelete/main.cpp	2009-12-02 20:58:51 UTC (rev 5216)
+++ pcbsd/trunk/PBIdelete/main.cpp	2009-12-02 21:05:20 UTC (rev 5217)
@@ -108,9 +108,6 @@
         tmp = ProgName[i];
         tmp.replace(" ", "");
         ProgDirName = tmp;
-        tmp = ProgVer[i];
-        tmp.replace(" ", "");
-        ProgDirName = ProgDirName + tmp;
 
         if ( RemovePBI == ProgDirName )
 	{
@@ -342,11 +339,7 @@
         tmp = ProgName[i];
         tmp.replace(" ", "");
         ProgDirName = tmp;
-        tmp = ProgVer[i];
-        tmp.replace(" ", "");
-        ProgDirName = ProgDirName + tmp;
-        //cout << ProgDirName << "\n";
-        ProgList << ProgDirName;
+        ProgList << ProgDirName + " - " + ProgVer[i];
         i++;
    }
 



More information about the Commits mailing list