first commit
This commit is contained in:
parent
eadf985d21
commit
ecdbdd0be6
1 changed files with 7 additions and 8 deletions
|
@ -44,14 +44,6 @@ DB_NAME=""
|
||||||
# ls ${statserver}
|
# ls ${statserver}
|
||||||
########################
|
########################
|
||||||
|
|
||||||
if [ ! -r "$statserver" ]; then
|
|
||||||
echo " ⛔Error:"${statserver}" doesn't exits"
|
|
||||||
exit 1
|
|
||||||
#else
|
|
||||||
#echo -e "$statserver exist"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
if [ -d ${pathd}/${varMod} ]
|
if [ -d ${pathd}/${varMod} ]
|
||||||
then
|
then
|
||||||
echo " ✅ Directory ${pathd}/${varMod} exist!"
|
echo " ✅ Directory ${pathd}/${varMod} exist!"
|
||||||
|
@ -59,10 +51,17 @@ else
|
||||||
mkdir -p ${pathd}/${varMod}
|
mkdir -p ${pathd}/${varMod}
|
||||||
echo " ✅ Directory ${pathd}/${varMod} CREATED ✅"
|
echo " ✅ Directory ${pathd}/${varMod} CREATED ✅"
|
||||||
fi
|
fi
|
||||||
|
exit 1
|
||||||
|
|
||||||
|
if [ ! -r "$statserver" ]; then
|
||||||
|
echo " ⛔Error:"${statserver}" doesn't exits"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
|
########################## not use
|
||||||
|
|
||||||
insert_mysql_down() {
|
insert_mysql_down() {
|
||||||
numplayers="0"
|
numplayers="0"
|
||||||
|
|
Loading…
Reference in a new issue