Take out the local test.
This commit is contained in:
parent
227d2c886d
commit
9399633416
1 changed files with 5 additions and 5 deletions
|
@ -46,9 +46,9 @@ else echo "Don't know where the install CD is. You can set it in $RC."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# For local testing
|
# For local testing
|
||||||
cdpackages=/usr/bigports/Packages/List
|
#cdpackages=/usr/bigports/Packages/List
|
||||||
CDPACK=/usr/bigports/Packages
|
#CDPACK=/usr/bigports/Packages
|
||||||
CDSRC=/usr/bigports/Sources
|
#CDSRC=/usr/bigports/Sources
|
||||||
|
|
||||||
if [ "$cdpackages" = "" ]
|
if [ "$cdpackages" = "" ]
|
||||||
then echo "Skipping CD packages."
|
then echo "Skipping CD packages."
|
||||||
|
@ -119,8 +119,8 @@ then if [ -f $LISTFILE ]
|
||||||
y=y
|
y=y
|
||||||
fi
|
fi
|
||||||
if [ "$y" = y -o "$y" = Y ]
|
if [ "$y" = y -o "$y" = Y ]
|
||||||
then echo "Fetching package list."
|
then echo "Fetching package list (^C to abort)."
|
||||||
urlget $LISTURL >$TMPF && mv $TMPF $LISTFILE || echo "Update not successful."
|
intr urlget $LISTURL >$TMPF && mv $TMPF $LISTFILE || echo "Update not successful."
|
||||||
fi
|
fi
|
||||||
netpackages=$LISTFILE
|
netpackages=$LISTFILE
|
||||||
if [ ! -f "$netpackages" -o ! `cat "$netpackages" 2>/dev/null | wc -l | awk '{ print $1 }'` -gt 1 ]
|
if [ ! -f "$netpackages" -o ! `cat "$netpackages" 2>/dev/null | wc -l | awk '{ print $1 }'` -gt 1 ]
|
||||||
|
|
Loading…
Reference in a new issue