mirror of
https://github.com/EngineGPDev/Autoinstall.git
synced 2025-01-18 13:52:22 +03:00
Merge pull request #14 from EngineGPDev/Added-table-deletion-after-export
Added table deletion after export
This commit is contained in:
commit
fe657edebb
@ -471,6 +471,7 @@ EOF
|
||||
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
|
||||
mysql -u $usrEgpSQL -p$passEgpSQL $dbEgpSQL < /var/www/enginegp/enginegp.sql >> $logsINST 2>&1
|
||||
rm /var/www/enginegp/enginegp.sql >> $logsINST 2>&1
|
||||
else
|
||||
echo "===================================" >> $logsINST 2>&1
|
||||
echo "enginegp уже установлен в системе. Продолжение установки невозможно." | tee -a $logsINST
|
||||
|
Loading…
Reference in New Issue
Block a user