Fixed network availability check

This commit is contained in:
Ben Gras 2006-03-26 19:30:33 +00:00
parent 094beb2f1e
commit 227d2c886d

View File

@ -111,7 +111,7 @@ rm -f $TMPF
rm -f $TMPDIR/.* # Remove any remaining .postinstall script or .list*
netpackages=""
if </dev/tcp
if ( : </dev/tcp ) 2>/dev/null
then if [ -f $LISTFILE ]
then echo -n "Update package list from network? (y/N) "
read y