mirror of
https://github.com/YunoHost-Apps/noalyss_ynh.git
synced 2024-09-03 19:46:20 +02:00
[fix] meeeeeeh
This commit is contained in:
parent
5d2900e79d
commit
fc3783c3bb
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ final_path=/var/www/noalyss
|
||||||
|
|
||||||
sudo rm -rf $final_path
|
sudo rm -rf $final_path
|
||||||
|
|
||||||
for i in $(psql -l | grep "\<noalyss\>" | awk '{print $1}')
|
for i in $(sudo "su -c 'psql -l | grep \"\<noalyss\>\" | awk \'{print $1}\''")
|
||||||
do
|
do
|
||||||
sudo "su postgres -c \"dropdb $i\""
|
sudo "su postgres -c \"dropdb $i\""
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue