1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2021-06-22 15:16:38 +02:00
parent d678233e1a
commit 4ec1ee6ef6
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -101,7 +101,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/settings.json $final_path/credentials.json"
ynh_setup_source --dest_dir="$final_path"
fi
# Set permissions on app files
@ -126,6 +126,14 @@ ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
ynh_install_nodejs --nodejs_version=$nodejs_version
#=================================================
# MODIFY A CONFIG FILE
#=================================================
ynh_script_progression --message="Reconfiguring Etherpad..." --weight=6
ynh_add_config --template="../conf/settings.json" --destination="$final_path/settings.json"
ynh_add_config --template="../conf/credentials.json" --destination="$final_path/credentials.json"
#=================================================
# INSTALL ETHERPAD
#=================================================