removan da source statements to preven errors?
This commit is contained in:
@@ -53,14 +53,14 @@ if [ ! -z "$1" ]; then
|
|||||||
chmod +x /tmp/dotnet-install.sh
|
chmod +x /tmp/dotnet-install.sh
|
||||||
/tmp/dotnet-install.sh --channel LTS
|
/tmp/dotnet-install.sh --channel 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
|
||||||
echo -e "\ndotnet installed, skipping install of repo\n"
|
echo -e "\ndotnet installed, skipping install of repo\n"
|
||||||
fi
|
fi
|
||||||
install packages
|
install packages
|
||||||
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
|
||||||
## dotnet
|
## dotnet
|
||||||
### haveibeenpwned-downloader
|
### haveibeenpwned-downloader
|
||||||
if [ ! $(which haveibeenpwned-downloader) ]; then
|
if [ ! $(which haveibeenpwned-downloader) ]; then
|
||||||
@@ -79,7 +79,7 @@ if [ ! -z "$1" ]; then
|
|||||||
### add to rcfile
|
### add to rcfile
|
||||||
echo "# linuxbrew (homebrew/brew)" >> $rcfile
|
echo "# linuxbrew (homebrew/brew)" >> $rcfile
|
||||||
echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> $rcfile
|
echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> $rcfile
|
||||||
# source $rcfile
|
source $rcfile
|
||||||
else
|
else
|
||||||
echo -e "\nlinuxbrew installed, skipping install\n"
|
echo -e "\nlinuxbrew installed, skipping install\n"
|
||||||
fi
|
fi
|
||||||
@@ -212,7 +212,7 @@ thefuck_present=$?
|
|||||||
if [ $thefuck_present -ne 0 ]; then
|
if [ $thefuck_present -ne 0 ]; then
|
||||||
echo -e "\nthefuck alias not fonud in $rcfile, adding\n"
|
echo -e "\nthefuck alias not fonud in $rcfile, adding\n"
|
||||||
echo -e "# thefuck\neval \$(thefuck --alias fuck)" >> $rcfile
|
echo -e "# thefuck\neval \$(thefuck --alias fuck)" >> $rcfile
|
||||||
# source $rcfile
|
source $rcfile
|
||||||
else
|
else
|
||||||
echo -e "\nthefuck is already in $rcfile, skipping\n"
|
echo -e "\nthefuck is already in $rcfile, skipping\n"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user