mirror of
https://github.com/YunoHost-Apps/diagramsnet_ynh.git
synced 2024-09-03 18:26:33 +02:00
fix quotting
This commit is contained in:
parent
26f9110717
commit
ca7754a9ff
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ ynh_add_nginx_config
|
|||
# Add "offline" parameter in index.html
|
||||
# See https://desk.draw.io/support/solutions/articles/16000042546-what-url-parameters-are-supported-
|
||||
# and https://shelter.moe/@Neil/103928506546498078 [French]
|
||||
sed_pattern='s/var params = window.location.search.slice(1).split('&');/&\n\t\t\tparams.push(\"offline=1\");/g'
|
||||
sed_pattern="s/var params = window.location.search.slice(1).split('&');/&\n\t\t\tparams.push(\"offline=1\");/g"
|
||||
sed -i "$sed_pattern" "$final_path/src/main/webapp/index.html"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -79,7 +79,7 @@ then
|
|||
# Add "offline" parameter in index.html
|
||||
# See https://desk.draw.io/support/solutions/articles/16000042546-what-url-parameters-are-supported-
|
||||
# and https://shelter.moe/@Neil/103928506546498078 [French]
|
||||
sed_pattern='s/var params = window.location.search.slice(1).split('&');/&\n\t\t\tparams.push(\"offline=1\");/g'
|
||||
sed_pattern="s/var params = window.location.search.slice(1).split('&');/&\n\t\t\tparams.push(\"offline=1\");/g"
|
||||
sed -i "$sed_pattern" "$final_path/src/main/webapp/index.html"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue