mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-21 10:51:36 +00:00
- refactoring architecture - fix incomplete ssh logs - code editor for scripts in the app - remove Jobs and SSHCommands
12 lines
309 B
Bash
12 lines
309 B
Bash
if ! DEBIAN_FRONTEND=noninteractive unzip __file__.zip; then
|
|
echo 'VITO_SSH_ERROR' && exit 1
|
|
fi
|
|
|
|
if ! sudo DEBIAN_FRONTEND=noninteractive mysql -u root __database__ < __file__.sql; then
|
|
echo 'VITO_SSH_ERROR' && exit 1
|
|
fi
|
|
|
|
if ! rm __file__.sql __file__.zip; then
|
|
echo 'VITO_SSH_ERROR' && exit 1
|
|
fi
|