fix default INSTALL_DIR issue in dotnet-install.sh
This commit is contained in:
parent
6eea734681
commit
b18df1c51c
3 changed files with 5 additions and 5 deletions
4
scripts/obtain/dotnet-install.sh
vendored
4
scripts/obtain/dotnet-install.sh
vendored
|
@ -358,7 +358,7 @@ get_user_share_path() {
|
|||
if [ ! -z "${DOTNET_INSTALL_DIR:-}" ]; then
|
||||
echo $DOTNET_INSTALL_DIR
|
||||
else
|
||||
echo "/usr/local/share/dotnet"
|
||||
echo "$HOME/.dotnet"
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
@ -619,7 +619,7 @@ calculate_vars
|
|||
if [ "$dry_run" = true ]; then
|
||||
say "Payload URL: $download_link"
|
||||
say "Repeatable invocation: ./$(basename $0) --version $specific_version --channel $channel --install-dir $install_dir"
|
||||
return 0
|
||||
exit 0
|
||||
fi
|
||||
|
||||
check_pre_reqs
|
||||
|
|
|
@ -358,7 +358,7 @@ get_user_share_path() {
|
|||
if [ ! -z "${DOTNET_INSTALL_DIR:-}" ]; then
|
||||
echo $DOTNET_INSTALL_DIR
|
||||
else
|
||||
echo "/usr/local/share/dotnet"
|
||||
echo "$HOME/.dotnet"
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
@ -619,7 +619,7 @@ calculate_vars
|
|||
if [ "$dry_run" = true ]; then
|
||||
say "Payload URL: $download_link"
|
||||
say "Repeatable invocation: ./$(basename $0) --version $specific_version --channel $channel --install-dir $install_dir"
|
||||
return 0
|
||||
exit 0
|
||||
fi
|
||||
|
||||
check_pre_reqs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue