diff --git a/README.md b/README.md index 485cf9c..4b59423 100644 --- a/README.md +++ b/README.md @@ -9,5 +9,5 @@ iwr https://raw.github.com/Deplux/dpt/migrate-go/install.ps1 -useb | iex 맥OS, 리눅스 (터미널에서 입력): ``` -curl -L https://raw.github.com/Deplux/dpt/migrate-go/install.sh | sh +curl -L https://raw.github.com/Deplux/dpt/migrate-go/install.sh | sudo sh ``` diff --git a/install.sh b/install.sh index e400252..531b6a0 100644 --- a/install.sh +++ b/install.sh @@ -16,7 +16,7 @@ esac install_uri="https://raw.github.com/Deplux/dpt/migrate-go/build/${target}" install_path="/usr/local/bin/dpt" -curl --progress-bar --output "${install_path}" "${install_uri}" +curl --fail --location --progress-bar --output "${install_path}" "${install_uri}" chmod a+x "${install_path}" echo "Deplux tools가 성공적으로 설치되었습니다"