mirror of
https://github.com/EngineGPDev/Autoinstall.git
synced 2025-01-18 22:02:22 +03:00
Added table deletion after export
This commit is contained in:
parent
e90e6b279a
commit
0c4f477f7e
@ -471,6 +471,7 @@ EOF
|
|||||||
sed -i "s/enginegp_pwd/$passEgpSQL/g" /var/www/enginegp/.env >> $logsINST 2>&1
|
sed -i "s/enginegp_pwd/$passEgpSQL/g" /var/www/enginegp/.env >> $logsINST 2>&1
|
||||||
sed -i "s/ENGINEGPHASH/$(echo "$usrEgpHASH" | sed 's/[\/&]/\\&/g')/g" /var/www/enginegp/enginegp.sql >> $logsINST 2>&1
|
sed -i "s/ENGINEGPHASH/$(echo "$usrEgpHASH" | sed 's/[\/&]/\\&/g')/g" /var/www/enginegp/enginegp.sql >> $logsINST 2>&1
|
||||||
mysql -u $usrEgpSQL -p$passEgpSQL $dbEgpSQL < /var/www/enginegp/enginegp.sql >> $logsINST 2>&1
|
mysql -u $usrEgpSQL -p$passEgpSQL $dbEgpSQL < /var/www/enginegp/enginegp.sql >> $logsINST 2>&1
|
||||||
|
rm /var/www/enginegp/enginegp.sql >> $logsINST 2>&1
|
||||||
else
|
else
|
||||||
echo "===================================" >> $logsINST 2>&1
|
echo "===================================" >> $logsINST 2>&1
|
||||||
echo "enginegp уже установлен в системе. Продолжение установки невозможно." | tee -a $logsINST
|
echo "enginegp уже установлен в системе. Продолжение установки невозможно." | tee -a $logsINST
|
||||||
|
Loading…
Reference in New Issue
Block a user