1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/penpot_ynh.git synced 2024-09-03 19:56:56 +02:00

Update install

This commit is contained in:
Mateusz 2024-05-17 20:37:34 +02:00 committed by GitHub
parent 5dc9a75363
commit 4e61d63f18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -180,6 +180,9 @@ ynh_use_logrotate --logfile="/var/log/$app/$app-exporter.log"
#================================================= #=================================================
# ADD A CONFIGURATION # ADD A CONFIGURATION
#================================================= #=================================================
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="Adding app's configuration file..." ynh_script_progression --message="Adding app's 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"