mirror of
https://github.com/YunoHost-Apps/peertube_ynh.git
synced 2024-09-03 19:56:29 +02:00
Tweaked psql cmd acc to https://github.com/YunoHost-Apps/Experimental_helpers/issues/25#issuecomment-410153845
This commit is contained in:
parent
c833bf151e
commit
6b5ef6241b
1 changed files with 2 additions and 2 deletions
|
@ -58,8 +58,8 @@ systemctl stop "$app"
|
||||||
# Add PostgreSQL extension for v1.0.0-beta.10.pre.1
|
# Add PostgreSQL extension for v1.0.0-beta.10.pre.1
|
||||||
#===================================================
|
#===================================================
|
||||||
|
|
||||||
sudo --login --user=postgres psql "$db_name" "CREATE EXTENSION IF NOT EXISTS unaccent;"
|
ynh_psql_execute_as_root "\connect $db_name
|
||||||
sudo --login --user=postgres psql "$db_name" "CREATE EXTENSION IF NOT EXISTS pg_trgm;"
|
CREATE EXTENSION IF NOT EXISTS unaccent;CREATE EXTENSION IF NOT EXISTS pg_trgm;"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REMOVE APP MAIN DIR
|
# REMOVE APP MAIN DIR
|
||||||
|
|
Loading…
Add table
Reference in a new issue