From 5d5de37abcf91d3dfbc429b2024104602deee7ac Mon Sep 17 00:00:00 2001 From: Yalh Date: Tue, 29 Jan 2019 22:41:47 +0100 Subject: [PATCH] Remove fix for the about page --- scripts/install | 3 --- scripts/upgrade | 3 --- 2 files changed, 6 deletions(-) diff --git a/scripts/install b/scripts/install index 59043c6..d0dc75e 100644 --- a/scripts/install +++ b/scripts/install @@ -182,9 +182,6 @@ npm install typescript@>=2.0 --save npm install ts-node popd -#Fix a error in the public page -ynh_replace_string "res.writeHead(200)" "res.writeHead(200, {\"content-type\": \"text/html\",})" "$final_path/src/distbin-html/public.ts" - chown -R $app:$app $final_path #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 79a3781..4d0575a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -125,9 +125,6 @@ npm install typescript@>=2.0 --save npm install ts-node popd -#Fix a error in the public page -ynh_replace_string "res.writeHead(200)" "res.writeHead(200, {\"content-type\": \"text/html\",})" "$final_path/src/distbin-html/public.ts" - ### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script. ### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it. #ynh_backup_if_checksum_is_different "$final_path/CONFIG_FILE"