mirror of
https://github.com/YunoHost-Apps/framagames_ynh.git
synced 2024-09-03 18:36:28 +02:00
Change url fix
This commit is contained in:
parent
1d0ef775dc
commit
79413c6eea
1 changed files with 3 additions and 3 deletions
|
@ -19,10 +19,10 @@ _configure_framagames() {
|
|||
--match_string="framanav: true" \
|
||||
--replace_string="framanav: false"
|
||||
|
||||
# %/ is here to prevent double slash
|
||||
# %/ is here to prevent double slash when path is /
|
||||
ynh_replace_string --target_file="$install_dir/sources/config/env.js" \
|
||||
--match_string=": '${old_path:-}/'," \
|
||||
--replace_string=": '${path%/}/',"
|
||||
--match_string=" basepath:.*" \
|
||||
--replace_string=" basepath: '${path%/}/', wrong_path: false"
|
||||
}
|
||||
|
||||
_build_install_framagames() {
|
||||
|
|
Loading…
Reference in a new issue