setup.sh fix

This commit is contained in:
mrfry 2023-04-08 18:22:54 +02:00
parent dbe6272240
commit e278c35c06
3 changed files with 5 additions and 5 deletions

View file

@ -4,11 +4,11 @@ baseDir=$(pwd)
hr() { [ -t 0 ] && printf '\033[0;32m%*s\033[0m\n' "$(tput cols)" '' | tr ' ' '='; } hr() { [ -t 0 ] && printf '\033[0;32m%*s\033[0m\n' "$(tput cols)" '' | tr ' ' '='; }
log() { hr; echo -e "\033[0;34m${*@}\033[0m"; hr; } log() { hr; echo -e "\033[0;34m${@}\033[0m"; hr; }
checkFile() { checkFile() {
if [ ! -f "${*@}" ]; then if [ ! -f "${@}" ]; then
log "${*@} does not exists, exiting" log "${@} does not exists, exiting"
exit exit
fi fi
} }

@ -1 +1 @@
Subproject commit 5a665bc766eb81aabd8a844e57329cc3a213d9f4 Subproject commit 9e21ac0a782cec44e340f58c123e73ef31e2f59e

@ -1 +1 @@
Subproject commit 7386dcaa68385990c756de67290f511a43cd4110 Subproject commit 199c5fe4b1bb522ba65a262d88712a52984f1502