diff --git a/scripts/_common.sh b/scripts/_common.sh index d4ee246..2eab5a8 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= # dependencies used by the app -pkg_dependencies="postgresql postgresql-contrib apt-transport-https" +pkg_dependencies="postgresql postgresql-contrib" nodejs_version=14 diff --git a/scripts/install b/scripts/install index a049c8c..c88762f 100644 --- a/scripts/install +++ b/scripts/install @@ -127,10 +127,8 @@ popd || ynh_die ynh_script_progression --message="Configuring Etherpad..." --weight=60 ynh_add_config --template="../conf/settings.json" --destination="$final_path/settings.json" -ynh_store_file_checksum --file="$final_path/settings.json" ynh_add_config --template="../conf/credentials.json" --destination="$final_path/credentials.json" -ynh_store_file_checksum --file="$final_path/credentials.json" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index 0fb973a..ee6b278 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -126,13 +126,9 @@ ynh_install_nodejs --nodejs_version=$nodejs_version #================================================= ynh_script_progression --message="Reconfiguring Etherpad..." --weight=6 -ynh_backup_if_checksum_is_different --file="$final_path/settings.json" ynh_add_config --template="../conf/settings.json" --destination="$final_path/settings.json" -ynh_store_file_checksum --file="$final_path/settings.json" -ynh_backup_if_checksum_is_different --file="$final_path/credentials.json" ynh_add_config --template="../conf/credentials.json" --destination="$final_path/credentials.json" -ynh_store_file_checksum --file="$final_path/credentials.json" #================================================= # INSTALL ETHERPAD