]> Zhao Yanbai Git Server - minix.git/commitdiff
Install sources in /usr/bigsrc, not /usr/src/commands.
authorBen Gras <ben@minix3.org>
Mon, 22 Jan 2007 15:42:40 +0000 (15:42 +0000)
committerBen Gras <ben@minix3.org>
Mon, 22 Jan 2007 15:42:40 +0000 (15:42 +0000)
commands/scripts/packman.sh

index 8274da0083cf4c3d9e41e7d0bca5de5df2221fe4..03698410235399f0f93eeb2f76d384e5d4266f0b 100644 (file)
@@ -7,7 +7,7 @@ CDDIR=PACKAGES
 CDMP=/mnt
 CDPACK=${CDMP}/install/packages
 CDSRC=${CDMP}/install/package-sources
-SRC=/usr/src/commands
+SRC=/usr/bigsrc
 LISTFILE=/etc/packages-$TAG
 LISTURL=http://www.minix3.org/packages/$PACKDIR/List
 TMPDIR=/usr/tmp/packages
@@ -57,6 +57,10 @@ fi
 #CDPACK=/usr/bigports/Packages
 #CDSRC=/usr/bigports/Sources
 
+if [ ! -d "$SRC" ]
+then   mkdir $SRC || exit
+fi
+
 if [ "$cdpackages" = "" ]
 then   echo "Skipping CD packages."
 else   cont=y