[PC-BSD Commits] r7498 - pcbsd/current/mfsroot-overlay/root

svn at pcbsd.org svn at pcbsd.org
Thu Sep 2 19:12:53 PDT 2010


Author: kris
Date: 2010-09-02 19:12:53 -0700 (Thu, 02 Sep 2010)
New Revision: 7498

Modified:
   pcbsd/current/mfsroot-overlay/root/insMetaPkgs.sh
Log:

Fixed some missing mkdirs in insMetaPkgs.sh



Modified: pcbsd/current/mfsroot-overlay/root/insMetaPkgs.sh
===================================================================
--- pcbsd/current/mfsroot-overlay/root/insMetaPkgs.sh	2010-09-02 20:54:39 UTC (rev 7497)
+++ pcbsd/current/mfsroot-overlay/root/insMetaPkgs.sh	2010-09-03 02:12:53 UTC (rev 7498)
@@ -7,13 +7,15 @@
 
 # If installing pkgs from CD
 if [ "$LOC" = "CD" ] ; then
+	mkdir -p ${FSMNT}/.cdmnt
 	mount_nullfs ${CDMNT}/packages ${FSMNT}/.cdmnt
 	LOC="/.cdmnt"
 fi
 
-chroot $FSMNT "/usr/local/sbin/pc-metapkgmanager add $PKGS $LOC"
+chroot $FSMNT /usr/local/bin/pc-metapkgmanager add $PKGS $LOC
 
 # Unmount our CD
 if [ "$LOC" = "/.cdmnt" ] ; then
 	umount ${FSMNT}/.cdmnt
+	rmdir ${FSMNT}/.cdmnt
 fi



More information about the Commits mailing list