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

Fix service

This commit is contained in:
Yalh 2019-01-28 23:47:30 +01:00
parent 637a477982
commit ff6fe00f88

View file

@ -181,6 +181,9 @@ 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"
#npm audit fix
#npm install -g npm-install-peers
#npm-install-peers
@ -244,8 +247,6 @@ ynh_add_systemd_config
### `ynh_replace_string` is used to replace a string in a file.
### (It's compatible with sed regular expressions syntax)
cp ../conf/package.json "$final_path/package.json"
ynh_replace_string "__PORT__" "$port" "$final_path/package.json"
#=================================================
# STORE THE CONFIG FILE CHECKSUM