1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yunomonitor_ynh.git synced 2024-09-03 17:46:11 +02:00

[fix] Sed unfinished

This commit is contained in:
ljf 2019-11-20 02:25:59 +01:00
parent 10c4c41d53
commit 4e4c0e58a0

View file

@ -110,9 +110,9 @@ echo "monitored_servers: [$monitored_servers]" >> $final_path/conf/$app.yml
echo "monitoring_servers: [$monitoring_servers]" >> $final_path/conf/$app.yml echo "monitoring_servers: [$monitoring_servers]" >> $final_path/conf/$app.yml
echo "cachet_apis: []" >> $final_path/conf/$app.yml echo "cachet_apis: []" >> $final_path/conf/$app.yml
sed -i 's/,/","/g' $final_path/conf/$app.yml sed -i 's/,/","/g' $final_path/conf/$app.yml
sed -i 's/[/["/g' $final_path/conf/$app.yml sed -i 's/\[/["/g' $final_path/conf/$app.yml
sed -i 's/]/"]/g' $final_path/conf/$app.yml sed -i 's/\]/"]/g' $final_path/conf/$app.yml
sed -i 's/[""]/[]/g' $final_path/conf/$app.yml sed -i 's/\[""\]/[]/g' $final_path/conf/$app.yml
#================================================= #=================================================
# STORE THE CONFIG FILE CHECKSUM # STORE THE CONFIG FILE CHECKSUM