[PC-BSD Commits] r7564 - pcbsd/current/src-qt4/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Wed Sep 15 11:46:47 PDT 2010


Author: kris
Date: 2010-09-15 11:46:47 -0700 (Wed, 15 Sep 2010)
New Revision: 7564

Modified:
   pcbsd/current/src-qt4/pbi-manager/pbi-manager
Log:

Added ability to extract pbi patches now for inspection



Modified: pcbsd/current/src-qt4/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-qt4/pbi-manager/pbi-manager	2010-09-15 17:49:05 UTC (rev 7563)
+++ pcbsd/current/src-qt4/pbi-manager/pbi-manager	2010-09-15 18:46:47 UTC (rev 7564)
@@ -297,8 +297,8 @@
                         PBI_PROGDIRPATH="${PBI_ALTEXTRACT_DIR}/${PBI_PROGDIRNAME}"
                 fi      
         else
-                # Set the installation dir
-                PBI_PROGDIRPATH="${PBI_ORIGPROGDIRPATH}"
+                # Set the extraction dir
+                PBI_PROGDIRPATH="${PBI_ORIGPROGDIRPATH}-patch"
         fi
 }
 
@@ -942,6 +942,16 @@
 	do_pbi_patch
 }
 
+# Start the PBI patch process
+do_pbi_patch() {
+        pbi_verify_signatures
+        pbi_verify_archivesum
+        
+        mk_pbi_extract_dir
+        pbi_extract_archive
+
+}
+
 pbi_add_init() {
 	parse_add_pbi_cmdline "$@"
 



More information about the Commits mailing list