diff --git a/scripts/install_mt4.sh b/scripts/install_mt4.sh index 474fe2b9..f23abb75 100755 --- a/scripts/install_mt4.sh +++ b/scripts/install_mt4.sh @@ -5,6 +5,9 @@ CWD="$( (cd -P -- "$(dirname -- "$0")" 2>/dev/null && pwd -P) || pwd -P)" type winetricks >/dev/null +# Load variables. +export WINETRICKS_DOWNLOADER_RETRIES=${WINETRICKS_DOWNLOADER_RETRIES:-10} + # Load the shell functions. . "$CWD/.funcs.inc.sh" . "$CWD/.funcs.cmds.inc.sh" diff --git a/scripts/install_mt5.sh b/scripts/install_mt5.sh index 5014c659..341f3a19 100755 --- a/scripts/install_mt5.sh +++ b/scripts/install_mt5.sh @@ -5,6 +5,9 @@ CWD="$(cd -P -- "$(dirname -- "$0")" 2>/dev/null; pwd -P)" type winetricks >/dev/null +# Load variables. +export WINETRICKS_DOWNLOADER_RETRIES=${WINETRICKS_DOWNLOADER_RETRIES:-10} + # Load the shell functions. . "$CWD/.funcs.inc.sh" . "$CWD/.funcs.cmds.inc.sh"