mirror of
https://github.com/EngineGPDev/Autoinstall.git
synced 2025-01-18 22:02:22 +03:00
Changed the type of checking the /var/www/enginegp directory before installing the panel
It was: Checked for the presence of a directory Become: Checks if the directory is empty
This commit is contained in:
parent
8cb72c3719
commit
a6b5662fd0
@ -538,7 +538,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Установка EngineGP
|
# Установка EngineGP
|
||||||
if [ ! -d "/var/www/enginegp" ]; then
|
if [ "$(ls -A /var/www/enginegp)" ]; then
|
||||||
echo "===================================" >> $logsINST 2>&1
|
echo "===================================" >> $logsINST 2>&1
|
||||||
echo "enginegp не установлен. Выполняется установка..." | tee -a $logsINST
|
echo "enginegp не установлен. Выполняется установка..." | tee -a $logsINST
|
||||||
echo "===================================" >> $logsINST 2>&1
|
echo "===================================" >> $logsINST 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user