Intr doesn't work here.
This commit is contained in:
parent
9399633416
commit
05fc502374
1 changed files with 2 additions and 2 deletions
|
@ -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 (^C to abort)."
|
then echo "Fetching package list."
|
||||||
intr urlget $LISTURL >$TMPF && mv $TMPF $LISTFILE || echo "Update not successful."
|
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