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

svn at pcbsd.org svn at pcbsd.org
Thu Apr 12 06:51:49 PDT 2012


Author: kris
Date: 2012-04-12 13:51:49 +0000 (Thu, 12 Apr 2012)
New Revision: 16402

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

Make sure we use .txz extension for pkg_add



Modified: pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager
===================================================================
--- pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager	2012-04-12 10:46:55 UTC (rev 16401)
+++ pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager	2012-04-12 13:51:49 UTC (rev 16402)
@@ -91,7 +91,7 @@
 		# Start installing the packages now
 		if [ "$loc" = "NET" ] ; then
 			PACKAGESITE="$2" ; export PACKAGESITE
-			${_chrootcmd} pkg_add -f -r "$pkg" >>${LOGFILE} 2>>${LOGFILE}
+			${_chrootcmd} pkg_add -f -r "${pkg}.txz" >>${LOGFILE} 2>>${LOGFILE}
 		else
 		  if [ -z "$_chroot" ] ; then
 		     cd "${2}"
@@ -555,7 +555,7 @@
   # Start installing the packages now
   if [ "$loc" = "NET" ] ; then
      #echo "${_chrootcmd} pkg_add -f -r $nPkg"
-     ${_chrootcmd} pkg_add -f -r "$nPkg" >>${LOGFILE} 2>>${LOGFILE}
+     ${_chrootcmd} pkg_add -f -r "${nPkg}.txz" >>${LOGFILE} 2>>${LOGFILE}
   else
      if [ -z "$_chroot" ] ; then
         pkg_add -f "${nPkg}.txz" >>${LOGFILE} 2>>${LOGFILE}



More information about the Commits mailing list