1
0
Fork 0
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:
Mateusz 2024-05-17 20:38:47 +02:00 committed by GitHub
parent 4e61d63f18
commit 4dcafc7b67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"