Commit cffcb7cb authored by Jondy Zhao's avatar Jondy Zhao

Fix option of testing path

parent 3ba4a851
...@@ -183,7 +183,7 @@ sed -i -e "s%^\\s*interface_name.*$%interface_name = $interface_guid%" \ ...@@ -183,7 +183,7 @@ sed -i -e "s%^\\s*interface_name.*$%interface_name = $interface_guid%" \
netsh interface ipv6 show interface > /dev/null || netsh interface ipv6 install netsh interface ipv6 show interface > /dev/null || netsh interface ipv6 install
# miniupnpc is required by re6stnet # miniupnpc is required by re6stnet
if [[ ! -f /opt/miniupnpc ]] ; then if [[ ! -d /opt/miniupnpc ]] ; then
if [[ -f /miniupnpc.tar.gz ]] ; then if [[ -f /miniupnpc.tar.gz ]] ; then
echo "Installing miniupnpc ..." echo "Installing miniupnpc ..."
cd /opt cd /opt
...@@ -198,7 +198,7 @@ if [[ ! -f /opt/miniupnpc ]] ; then ...@@ -198,7 +198,7 @@ if [[ ! -f /opt/miniupnpc ]] ; then
fi fi
# pyOpenSSL is required by re6stnet # pyOpenSSL is required by re6stnet
if [[ ! -f /opt/pyOpenSSL ]] ; then if [[ ! -d /opt/pyOpenSSL ]] ; then
if [[ -f /pyOpenSSL.tar.gz ]] ; then if [[ -f /pyOpenSSL.tar.gz ]] ; then
echo "Installing pyOpenSSL ..." echo "Installing pyOpenSSL ..."
cd /opt cd /opt
...@@ -210,7 +210,7 @@ if [[ ! -f /opt/pyOpenSSL ]] ; then ...@@ -210,7 +210,7 @@ if [[ ! -f /opt/pyOpenSSL ]] ; then
fi fi
# Install re6stnet # Install re6stnet
if [[ ! -f /opt/re6stnet ]] ; then if [[ ! -d /opt/re6stnet ]] ; then
echo "Installing re6stnet ..." echo "Installing re6stnet ..."
cd /opt cd /opt
if [[ -f /re6stnet.tar.gz ]] ; then if [[ -f /re6stnet.tar.gz ]] ; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment