[PC-BSD Commits] r12910 - pcbsd/current/src-sh/pc-updatemanager

svn at pcbsd.org svn at pcbsd.org
Tue Sep 20 16:57:00 PDT 2011


Author: kris
Date: 2011-09-20 16:57:00 -0700 (Tue, 20 Sep 2011)
New Revision: 12910

Modified:
   pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager
Log:

Use tar to extract system patches now, don't need lzma stuff anymore



Modified: pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager
===================================================================
--- pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager	2011-09-20 20:02:12 UTC (rev 12909)
+++ pcbsd/current/src-sh/pc-updatemanager/pc-updatemanager	2011-09-20 23:57:00 UTC (rev 12910)
@@ -433,7 +433,7 @@
         sleep 4
 
         PATCHTMPDIR="`mktemp -d ${DOWNLOADDIR}/patchInstallXXXXX`"
-        lzma -d -c ${DOWNLOADDIR}/${FILENAME} 2>/dev/null | tar xvC ${PATCHTMPDIR} -f - 2>/dev/null
+        tar xvJf ${DOWNLOADDIR}/${FILENAME} -C ${PATCHTMPDIR} 2>/dev/null
         cd ${PATCHTMPDIR}
         sh update.sh
         if [ $? -eq 0 ]



More information about the Commits mailing list