mirror of
https://github.com/YunoHost-Apps/distbin_ynh.git
synced 2024-09-03 18:26:10 +02:00
Fix update
This commit is contained in:
parent
643a3dbb01
commit
9f2ce65326
2 changed files with 2 additions and 3 deletions
|
@ -184,9 +184,6 @@ npm install typescript@>=2.0 --save
|
|||
npm install ts-node
|
||||
popd
|
||||
|
||||
#cp ../conf/package.json "$final_path/package.json"
|
||||
#ynh_replace_string "__PORT__" "$port" "$final_path/package.json"
|
||||
|
||||
#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"
|
||||
|
||||
|
|
|
@ -125,6 +125,8 @@ 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.
|
||||
|
|
Loading…
Reference in a new issue