[PC-BSD Commits] r9596 - pcbsd/current/src-sh/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Fri Mar 11 12:08:20 PST 2011


Author: kris
Date: 2011-03-11 12:08:20 -0800 (Fri, 11 Mar 2011)
New Revision: 9596

Modified:
   pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:

Changed the default PBI appdir from /usr/local/pbi -> /usr/pbi



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2011-03-11 16:12:58 UTC (rev 9595)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2011-03-11 20:08:20 UTC (rev 9596)
@@ -1208,7 +1208,7 @@
 	FBSDMAJOR=`uname -r | cut -c 1`
         PROGBASE="/usr/local" 
 	SYS_LOCALBASE="/usr/local"
-	PBI_APPDIR="${PROGBASE}/pbi"
+	PBI_APPDIR="/usr/pbi"
 	PBI_CHROOTFILE="${PBI_APPDIR}/.pbi-world.tbz"
 	PBI_HASHDIR="${PBI_APPDIR}/.hashdir"
 	PBI_RCDIR="${SYS_LOCALBASE}/etc/rc.d"
@@ -1532,8 +1532,8 @@
 		echo "${PBI_MAKEOPTS}" >> ${MAKE_CONF}
 	fi
 
-	# Link /usr/local -> PREFIX
-	mkdir -p /usr/local/pbi
+	# Link ${PBI_APPDIR} -> PREFIX
+	mkdir -p ${PBI_APPDIR}
 	ln -s /usr/local ${PREFIX}
 
 	# Make sure ldconfig is primed



More information about the Commits mailing list