diff --git a/script/install.sh b/script/install.sh index d29b60dc..1c8d3735 100755 --- a/script/install.sh +++ b/script/install.sh @@ -342,9 +342,7 @@ run_command() { case $1 in install) check_tools curl - if [ ! -f "$ROOT/install.sh" ]; then - install_dlang_installer - fi + install_dlang_installer || log "Updating the installer failed." if [ -z "${2:-}" ]; then fatal "Missing compiler argument for $1 command."; fi