From ad800cf010e155e6f91081d3871c3b34c9505a34 Mon Sep 17 00:00:00 2001 From: liberodark Date: Fri, 4 Jan 2019 23:54:12 +0100 Subject: [PATCH] clean 2 --- scripts/install | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/scripts/install b/scripts/install index b7f0d9a..7d07958 100644 --- a/scripts/install +++ b/scripts/install @@ -191,13 +191,6 @@ ynh_add_nginx_config # Create a system user ynh_system_user_create $app -#================================================= -# MODIFY A CONFIG FILE -#================================================= -#cp -a ../conf/onlyoffice-documentserver.conf /etc/onlyoffice/documentserver/nginx/onlyoffice-documentserver.conf -#ynh_replace_string "__NEXTCLOUDDOMAIN__" "$nextcloud_domain" "/etc/loolwsd/loolwsd.xml" -#ynh_replace_string "__PASSWORD__" "$password" "/etc/loolwsd/loolwsd.xml" - #================================================= # STORE THE CONFIG FILE CHECKSUM #================================================= @@ -207,8 +200,7 @@ ynh_system_user_create $app ### you can make a backup of this file before modifying it again if the admin had modified it. # Calculate and store the config file checksum into the app settings -#ynh_store_file_checksum "/etc/onlyoffice/documentserver/nginx/onlyoffice-documentserver.conf" - +ynh_store_file_checksum "$final_path/config.json" #================================================= # GENERIC FINALIZATION