diff --git a/osx/mpkg/quickstart.app/Contents/Resources/Scripts/start.sh b/osx/mpkg/quickstart.app/Contents/Resources/Scripts/start.sh index 398afc85ec..1b3bf28679 100755 --- a/osx/mpkg/quickstart.app/Contents/Resources/Scripts/start.sh +++ b/osx/mpkg/quickstart.app/Contents/Resources/Scripts/start.sh @@ -11,6 +11,14 @@ NC='\033[0m' unset DYLD_LIBRARY_PATH unset LD_LIBRARY_PATH +#clear all_proxy if not socks address +if [[ $ALL_PROXY != socks* ]]; then + unset ALL_PROXY +fi +if [[ $all_proxy != socks* ]]; then + unset all_proxy +fi + clear if [ ! -f "${DOCKER_MACHINE}" ]; then diff --git a/windows/start.sh b/windows/start.sh index 6594ec829e..58f60ef809 100644 --- a/windows/start.sh +++ b/windows/start.sh @@ -20,6 +20,13 @@ BLUE='\033[1;34m' GREEN='\033[0;32m' NC='\033[0m' +#clear all_proxy if not socks address +if [[ $ALL_PROXY != socks* ]]; then + unset ALL_PROXY +fi +if [[ $all_proxy != socks* ]]; then + unset all_proxy +fi if [ ! -f "${DOCKER_MACHINE}" ]; then echo "Docker Machine is not installed. Please re-run the Toolbox Installer and try again."