mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-20 10:21:37 +00:00
6 lines
144 B
PHP
Executable File
6 lines
144 B
PHP
Executable File
if ! sudo -u postgres psql -c "DROP DATABASE \"{{ $name }}\""; then
|
|
echo 'VITO_SSH_ERROR' && exit 1
|
|
fi
|
|
|
|
echo "Database {{ $name }} deleted"
|