mirror of
https://github.com/YunoHost-Apps/penpot_ynh.git
synced 2024-09-03 19:56:56 +02:00
Update upgrade
This commit is contained in:
parent
4e61d63f18
commit
4dcafc7b67
1 changed files with 3 additions and 0 deletions
|
@ -175,6 +175,9 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log"
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPDATE A CONFIG FILE
|
# UPDATE A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
ynh_script_progression --message="Updating database configuration..."
|
||||||
|
ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pg_trgm;" --database=$db_name
|
||||||
|
|
||||||
ynh_script_progression --message="Updating a configuration file..."
|
ynh_script_progression --message="Updating a configuration file..."
|
||||||
|
|
||||||
ynh_add_config --template="config.js" --destination="$install_dir/frontend/js/config.js"
|
ynh_add_config --template="config.js" --destination="$install_dir/frontend/js/config.js"
|
||||||
|
|
Loading…
Add table
Reference in a new issue