1
0
Fork 0
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:
Salamandar 2024-07-13 13:14:32 +02:00
parent 1d0ef775dc
commit 79413c6eea

View file

@ -19,10 +19,10 @@ _configure_framagames() {
--match_string="framanav: true" \ --match_string="framanav: true" \
--replace_string="framanav: false" --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" \ ynh_replace_string --target_file="$install_dir/sources/config/env.js" \
--match_string=": '${old_path:-}/'," \ --match_string=" basepath:.*" \
--replace_string=": '${path%/}/'," --replace_string=" basepath: '${path%/}/', wrong_path: false"
} }
_build_install_framagames() { _build_install_framagames() {