From 61b9193ceddd1ef049dd3dab9ec134326f84472f Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Mon, 8 Jan 2007 15:10:27 +0000 Subject: [PATCH] Take arch+version specific packages List file. --- commands/scripts/packman.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.44.0