1765990435
This commit is contained in:
@@ -57,7 +57,7 @@ if [ ! -z "$1" ]; then
|
|||||||
echo -e "\ndotnet not found, installing\n"
|
echo -e "\ndotnet not found, installing\n"
|
||||||
wget https://dot.net/v1/dotnet-install.sh -O /tmp/dotnet-install.sh
|
wget https://dot.net/v1/dotnet-install.sh -O /tmp/dotnet-install.sh
|
||||||
chmod +x /tmp/dotnet-install.sh
|
chmod +x /tmp/dotnet-install.sh
|
||||||
/tmp/dotnet-install.sh --channel LTS
|
/tmp/dotnet-install.sh --channel STS # latest stable, optinoally LTS
|
||||||
echo -e "## dotnet\nPATH=\$PATH:$userhome/.dotnet:$userhome/.dotnet/tools" >> $rcfile
|
echo -e "## dotnet\nPATH=\$PATH:$userhome/.dotnet:$userhome/.dotnet/tools" >> $rcfile
|
||||||
source $rcfile
|
source $rcfile
|
||||||
else
|
else
|
||||||
@@ -66,9 +66,9 @@ if [ ! -z "$1" ]; then
|
|||||||
fi
|
fi
|
||||||
## dotnet
|
## dotnet
|
||||||
### haveibeenpwned-downloader
|
### haveibeenpwned-downloader
|
||||||
if [ ! $(which haveibeenpwned-downloader) ]; then
|
if ! which haveibeenpwned-downloader; then
|
||||||
echo -e "\nhaveibeenpwned-downloader not found, installing with dotnet\n"
|
echo -e "\nhaveibeenpwned-downloader not found, installing with dotnet\n"
|
||||||
dotnet tool install --global haveibeenpwned-downloader
|
dotnet tool install --create-manifest-if-needed haveibeenpwned-downloader
|
||||||
else
|
else
|
||||||
echo -e "\nhaveibeenpwned-downloader installed, skipping install\n"
|
echo -e "\nhaveibeenpwned-downloader installed, skipping install\n"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user