Replace CocoRice with sadedot

This commit is contained in:
Santiago Lo Coco 2022-01-19 15:01:21 -03:00
parent c93f4e933e
commit 8a989748af
1 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ usage() {
usage: ${0##*/} [command] usage: ${0##*/} [command]
-h | --help Print this help message. -h | --help Print this help message.
-d | --dialog Use dialog. -d | --dialog Use dialog.
-l | --log Log to CocoRice.log file. -l | --log Log to sadedot.log file.
-p | --packages Run scripts/install.sh at the end of this script. -p | --packages Run scripts/install.sh at the end of this script.
EOF EOF
} }
@ -107,16 +107,16 @@ checkForDependencies() {
} }
startRice() { startRice() {
displayDialogBox --title "CocoRice" --msgbox "Hi! This script will auto install my dotfiles." displayDialogBox --title "sadedot" --msgbox "Hi! This script will auto install my dotfiles."
getGitconfigData getGitconfigData
source scripts/linkFiles.sh source scripts/linkFiles.sh
[[ -n $installPackages && $installPackages = true ]] && source scripts/install.sh [[ -n $installPackages && $installPackages = true ]] && source scripts/install.sh
displayDialogBox --title "CocoRice" --msgbox "All done! Enjoy..." displayDialogBox --title "sadedot" --msgbox "All done! Enjoy..."
} }
runScript() { runScript() {
lastFolder=$(pwd -P) lastFolder=$(pwd -P)
sadedotFolder=$(pwd -P | awk '{ sub(/CocoRice.*/, "CocoRice"); print }') sadedotFolder=$(pwd -P | awk '{ sub(/sadedot.*/, "sadedot"); print }')
cd "$sadedotFolder" || { echo "Couldn't cd into '$sadedotFolder'." 1>&2 && exit 1; } cd "$sadedotFolder" || { echo "Couldn't cd into '$sadedotFolder'." 1>&2 && exit 1; }
source scripts/common.sh source scripts/common.sh