Use dotnet-install.sh script from .NET Foundation
https://dotnet.microsoft.com/en-us/download/dotnet/scripts
This commit is contained in:
parent
e02e6a9195
commit
0d3c409cdb
3 changed files with 1754 additions and 2 deletions
1746
roles/home-cli/files/dotnet-install.sh
vendored
Normal file
1746
roles/home-cli/files/dotnet-install.sh
vendored
Normal file
File diff suppressed because it is too large
Load diff
|
@ -35,7 +35,7 @@ fi
|
|||
export ANSIBLE_NOCOWS=1
|
||||
export BLOCKSIZE=K
|
||||
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||
export DOTNET_ROOT="$HOME/opt/dotnet" # https://aka.ms/dotnet/download
|
||||
export DOTNET_ROOT="$HOME/.dotnet" # https://aka.ms/dotnet/download
|
||||
export EDITOR=vi
|
||||
export ENV="$HOME/.shrc"
|
||||
export GOTELEMETRY=off
|
||||
|
@ -171,7 +171,6 @@ for dir in "$HOME/.local/bin" \
|
|||
/usr/lib/sdk/golang/bin \
|
||||
"$XDG_DATA_HOME/flatpak/exports/bin" \
|
||||
"$HOME/.dotnet/tools" \
|
||||
"$HOME/opt/dotnet" \
|
||||
"$HOME/.cargo/bin" \
|
||||
"$HOME/opt/go/bin" \
|
||||
"$XDG_DATA_HOME/gem/ruby/bin" \
|
||||
|
@ -237,6 +236,7 @@ alias 7zencrypt="7z a -t7z -p -mhe"
|
|||
alias alu="apt list --upgradable"
|
||||
alias asdo="apt source --download-only"
|
||||
alias aurmake="makepkg -irs"
|
||||
alias dotnet="$DOTNET_ROOT/dotnet"
|
||||
alias f=fossil
|
||||
alias ip="ip -c"
|
||||
alias isocal="cal --iso --reform=iso --monday --week"
|
||||
|
|
|
@ -92,3 +92,9 @@
|
|||
ansible.builtin.copy:
|
||||
src: azerty-afnor.txt
|
||||
dest: "{{ ansible_env.XDG_DATA_HOME }}/azerty-afnor.txt"
|
||||
# Get the latest version from <https://dotnet.microsoft.com/en-us/download/dotnet/scripts>
|
||||
- name: Create $HOME/.local/bin/dotnet-install.sh
|
||||
ansible.builtin.copy:
|
||||
src: dotnet-install.sh
|
||||
dest: "{{ ansible_env.HOME }}/.local/bin/dotnet-install.sh"
|
||||
mode: '0755'
|
||||
|
|
Loading…
Reference in a new issue