mirror of
https://github.com/YunoHost-Apps/noalyss_ynh.git
synced 2024-09-03 19:46:20 +02:00
I should go to sleep
This commit is contained in:
parent
6db5734f49
commit
a70f7dce3f
1 changed files with 3 additions and 3 deletions
|
@ -4,9 +4,9 @@ final_path=/var/www/noalyss
|
||||||
|
|
||||||
sudo rm -rf $final_path
|
sudo rm -rf $final_path
|
||||||
|
|
||||||
for i in $(sudo "su postgres -c 'psql -l | grep \"\<noalyss\>\" | awk \'{print $1}\''")
|
for i in $(sudo su postgres -c "psql -l | grep \"\<noalyss\>\" | awk '{print $1}'")
|
||||||
do
|
do
|
||||||
sudo "su postgres -c \"dropdb $i\""
|
sudo su postgres -c "dropdb $i"
|
||||||
done
|
done
|
||||||
|
|
||||||
sudo "su postgres -c 'dropuser noalyss'"
|
sudo su postgres -c 'dropuser noalyss'
|
||||||
|
|
Loading…
Add table
Reference in a new issue