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

svn at pcbsd.org svn at pcbsd.org
Tue Sep 4 12:59:12 PDT 2012


Author: kris
Date: 2012-09-04 19:59:12 +0000 (Tue, 04 Sep 2012)
New Revision: 18846

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

Don't use -F for pkg_add



Modified: pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager
===================================================================
--- pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager	2012-09-04 19:47:26 UTC (rev 18845)
+++ pcbsd/current/src-sh/pc-metapkgmanager/pc-metapkgmanager	2012-09-04 19:59:12 UTC (rev 18846)
@@ -132,12 +132,12 @@
 		   echo "Installing package: $pkg" >>${LOGFILE}
 		   if [ -z "$_chroot" ] ; then
 		      cd "${MIRRORURL}"
-		      pkg_add -f -F "${pkg}.txz" >>${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 "$MIRRORURL" "${_chroot}/.mnt.$$"
-		      ${_chrootcmd} pkg_add -f -F "/.mnt.$$/${pkg}.txz" >>${LOGFILE} 2>>${LOGFILE}
+		      ${_chrootcmd} pkg_add -f "/.mnt.$$/${pkg}.txz" >>${LOGFILE} 2>>${LOGFILE}
 		   fi
 		fi
         done
@@ -154,7 +154,7 @@
 	      fi
 	      echo "Installing package: $pkg"
 	      echo "Installing package: $pkg" >>${LOGFILE}
-	      ${_chrootcmd} pkg_add -f -F "${TMPDIR}/${pkg}.txz" >>${LOGFILE} 2>>${LOGFILE}
+	      ${_chrootcmd} pkg_add -f "${TMPDIR}/${pkg}.txz" >>${LOGFILE} 2>>${LOGFILE}
 	      rm "${_chroot}/${TMPDIR}/${pkg}.txz"
            done
 	fi



More information about the Commits mailing list