From: Ben Gras Date: Mon, 8 Jan 2007 15:10:27 +0000 (+0000) Subject: Take arch+version specific packages List file. X-Git-Tag: v3.1.3~121 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/mult.png?a=commitdiff_plain;h=61b9193ceddd1ef049dd3dab9ec134326f84472f;p=minix.git Take arch+version specific packages List file. --- diff --git a/commands/scripts/packman.sh b/commands/scripts/packman.sh index d97eab591..71a21ab12 100644 --- a/commands/scripts/packman.sh +++ b/commands/scripts/packman.sh @@ -1,5 +1,6 @@ #!/bin/sh +TAG=`uname -p`-`uname -r`.`uname -v` PACKDIR=`uname -p`/`uname -r`.`uname -v` RC=/usr/etc/rc.package CDDIR=PACKAGES @@ -7,8 +8,8 @@ CDMP=/mnt CDPACK=${CDMP}/install/packages CDSRC=${CDMP}/install/package-sources SRC=/usr/src/commands -LISTFILE=/etc/packages -LISTURL=http://www.minix3.org/packages/List +LISTFILE=/etc/packages-$TAG +LISTURL=http://www.minix3.org/packages/$PACKDIR/List TMPDIR=/usr/tmp/packages mkdir -p $TMPDIR URL1=http://www.minix3.org/packages/$PACKDIR @@ -133,7 +134,7 @@ then if [ -f $LISTFILE ] y=y fi if [ "$y" != n -a "$y" != n ] - then echo "Fetching package list." + then echo "Fetching package list from $LISTURL." urlget $LISTURL >$TMPF && mv $TMPF $LISTFILE || echo "Update not successful." fi netpackages=$LISTFILE