[PC-BSD Commits] r16046 - pcbsd/current/src-sh/pc-metapkgmanager

svn at pcbsd.org svn at pcbsd.org
Tue Mar 27 09:12:33 PDT 2012


Author: kris
Date: 2012-03-27 16:12:33 +0000 (Tue, 27 Mar 2012)
New Revision: 16046

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

Use txz instead of tbz, better compression



Modified: pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager
===================================================================
--- pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager	2012-03-27 16:07:32 UTC (rev 16045)
+++ pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager	2012-03-27 16:12:33 UTC (rev 16046)
@@ -96,12 +96,12 @@
 		else
 		  if [ -z "$_chroot" ] ; then
 		     cd "${2}"
-		     pkg_add -f "${pkg}.tbz" >>${LOGFILE} 2>>${LOGFILE}
+		     pkg_add -f "${pkg}.txz" >>${LOGFILE} 2>>${LOGFILE}
 		  else
 		     # Do some nullfs mounting to get our dist dir into the chroot
 		     mkdir ${_chroot}/.mnt.$$
 		     mount_nullfs "$2" "${_chroot}/.mnt.$$"
-		     ${_chrootcmd} pkg_add -f "/.mnt.$$/${pkg}.tbz" >>${LOGFILE} 2>>${LOGFILE}
+		     ${_chrootcmd} pkg_add -f "/.mnt.$$/${pkg}.txz" >>${LOGFILE} 2>>${LOGFILE}
 		  fi
 		fi
         done < ${MPDIR}/${_apkg}/pkg-list
@@ -559,9 +559,9 @@
      ${_chrootcmd} pkg_add -f -r "$nPkg" >>${LOGFILE} 2>>${LOGFILE}
   else
      if [ -z "$_chroot" ] ; then
-        pkg_add -f "${nPkg}.tbz" >>${LOGFILE} 2>>${LOGFILE}
+        pkg_add -f "${nPkg}.txz" >>${LOGFILE} 2>>${LOGFILE}
      else
-        ${_chrootcmd} pkg_add -f "/.mnt.$$/${nPkg}.tbz" >>${LOGFILE} 2>>${LOGFILE}
+        ${_chrootcmd} pkg_add -f "/.mnt.$$/${nPkg}.txz" >>${LOGFILE} 2>>${LOGFILE}
      fi
   fi
 



More information about the Commits mailing list