[PC-BSD Commits] r20260 - pcbsd/branches/9.1/src-sh/pc-metapkgmanager

svn at pcbsd.org svn at pcbsd.org
Mon Nov 19 14:50:27 PST 2012


Author: kris
Date: 2012-11-19 22:50:27 +0000 (Mon, 19 Nov 2012)
New Revision: 20260

Modified:
   pcbsd/branches/9.1/src-sh/pc-metapkgmanager/pc-metapkgmanager
Log:

Fix an issue pulling packages from the default mirror



Modified: pcbsd/branches/9.1/src-sh/pc-metapkgmanager/pc-metapkgmanager
===================================================================
--- pcbsd/branches/9.1/src-sh/pc-metapkgmanager/pc-metapkgmanager	2012-11-19 22:42:18 UTC (rev 20259)
+++ pcbsd/branches/9.1/src-sh/pc-metapkgmanager/pc-metapkgmanager	2012-11-19 22:50:27 UTC (rev 20260)
@@ -77,7 +77,6 @@
 	_apkg=$1
 
         MIRRORURL=`parse_url "$pkgAddMirror"`
-
 	# Figure out the type of location we are installing from
 	echo $MIRRORURL | grep -e '^http://' -e '^ftp://' >/dev/null 2>/dev/null
 	if [ "$?" = "0" ] ; then
@@ -568,7 +567,7 @@
 use_default_mirror()
 {
   # Get the default mirror URL
-  get_mirror
+  get_mirror >/dev/null 2>/dev/null
   local mirrChk="$VAL"
   local pcVer="`pbreg get /PC-BSD/Version 2>/dev/null`"
   local pcArch="`uname -m`"



More information about the Commits mailing list