Fixed network availability check
This commit is contained in:
parent
094beb2f1e
commit
227d2c886d
@ -111,7 +111,7 @@ rm -f $TMPF
|
|||||||
rm -f $TMPDIR/.* # Remove any remaining .postinstall script or .list*
|
rm -f $TMPDIR/.* # Remove any remaining .postinstall script or .list*
|
||||||
|
|
||||||
netpackages=""
|
netpackages=""
|
||||||
if </dev/tcp
|
if ( : </dev/tcp ) 2>/dev/null
|
||||||
then if [ -f $LISTFILE ]
|
then if [ -f $LISTFILE ]
|
||||||
then echo -n "Update package list from network? (y/N) "
|
then echo -n "Update package list from network? (y/N) "
|
||||||
read y
|
read y
|
||||||
|
Loading…
x
Reference in New Issue
Block a user