1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/noalyss_ynh.git synced 2024-09-03 19:46:20 +02:00
This commit is contained in:
Laurent Peuch 2015-09-28 00:36:11 +02:00
parent cb860263ac
commit 9d3d018e10

View file

@ -6,7 +6,7 @@ sudo rm -rf $final_path
for i in $(psql -l | grep "\<noalyss\>" | awk '{print $1}') for i in $(psql -l | grep "\<noalyss\>" | awk '{print $1}')
do do
su postgres -c "dropdb $i" sudo "su postgres -c \"dropdb $i\""
done done
su postgres -c "dropuser noalyss" su postgres -c "dropuser noalyss"