mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
setup.sh fix
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
Submodule submodules/qmining-data-editor updated: 5a665bc766...9e21ac0a78
Submodule submodules/qmining-page updated: 7386dcaa68...199c5fe4b1
Reference in New Issue
Block a user