Update getDotfiles()

This commit is contained in:
Santiago Lo Coco 2022-01-28 00:52:33 -03:00
parent 8e115c8039
commit f7b5812900
1 changed files with 3 additions and 3 deletions

View File

@ -475,9 +475,9 @@ finishInstallation() {
getDotfiles() { getDotfiles() {
local lastFolder=$(pwd -P) local lastFolder=$(pwd -P)
cd "$HOME/Documents" || printAndExit "Couldn't cd into $HOME/Documents" cd "$HOME/Documents" || printAndExit "Couldn't cd into $HOME/Documents"
git clone https://github.com/santilococo/sadedot.git 2>&1 | debug git clone https://github.com/santilococo/cdotfis.git 2>&1 | debug
cd sadedot || printAndExit "Couldn't cd into ./sadedot" cd cdotfis || printAndExit "Couldn't cd into ./cdotfis"
sh scripts/bootstrap.sh sh sadedot/scripts/bootstrap.sh
cd "$lastFolder" || printAndExit "Couldn't cd into $lastFolder" cd "$lastFolder" || printAndExit "Couldn't cd into $lastFolder"
sudo rm -f ~/.bashrc /usr/bin/calsais sudo rm -f ~/.bashrc /usr/bin/calsais