mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix PROXY
This commit is contained in:
parent
1728cf8863
commit
04744f4dff
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue