fix PROXY

This commit is contained in:
Tobias Powalowski 2023-01-08 18:23:37 +01:00
parent 1728cf8863
commit 04744f4dff

View file

@ -127,7 +127,7 @@ donetwork() {
# http/ftp proxy settings
DIALOG --inputbox "Enter your proxy server, for example:\nhttp://name:port\nhttp://ip:port\nhttp://username:password@ip:port\n\n Leave the field empty if no proxy is needed to install." 13 65 "" 2>"${_ANSWER}" || return 1
_PROXY=$(cat "${_ANSWER}")
_PROXIES="http_proxy https_proxy ftp_proxy rsync_proxy HTTP__PROXY HTTPS__PROXY FTP__PROXY RSYNC__PROXY"
_PROXIES="http_proxy https_proxy ftp_proxy rsync_proxy HTTP_PROXY HTTPS_PROXY FTP_PROXY RSYNC_PROXY"
if [[ "${_PROXY}" == "" ]]; then
for i in ${_PROXIES}; do
unset "${i}"