1762087209
This commit is contained in:
@@ -52,6 +52,7 @@ if [ ! -z "$1" ]; then
|
|||||||
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
|
/tmp/dotnet-install.sh
|
||||||
|
echo -e "## dotnet\nPATH=\$PATH:$userhome/.dotnet" >> $rcfile
|
||||||
source $rcfile
|
source $rcfile
|
||||||
else
|
else
|
||||||
echo -e "\ndotnet installed, skipping install of repo\n"
|
echo -e "\ndotnet installed, skipping install of repo\n"
|
||||||
@@ -60,15 +61,14 @@ if [ ! -z "$1" ]; then
|
|||||||
echo -e "\nInstallan my packages\n"
|
echo -e "\nInstallan my packages\n"
|
||||||
sudo bash -c "apt install $packages -y"
|
sudo bash -c "apt install $packages -y"
|
||||||
source $rcfile
|
source $rcfile
|
||||||
# not useful on arm
|
|
||||||
## 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"
|
||||||
# sudo dotnet tool install --global haveibeenpwned-downloader
|
sudo $userhome/.dotnet/dotnet dotnet tool install --global haveibeenpwned-downloader
|
||||||
# else
|
else
|
||||||
# echo -e "\nhaveibeenpwned-downloader installed, skipping install\n"
|
echo -e "\nhaveibeenpwned-downloader installed, skipping install\n"
|
||||||
# fi
|
fi
|
||||||
# homebrew
|
# homebrew
|
||||||
if [ ! $(which brew) ]; then
|
if [ ! $(which brew) ]; then
|
||||||
## install homebrew
|
## install homebrew
|
||||||
|
|||||||
Reference in New Issue
Block a user