1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/framagames_ynh.git synced 2024-09-03 18:36:28 +02:00

Fix root install

This commit is contained in:
Salamandar 2024-07-12 18:12:56 +02:00
parent f3b8513d4c
commit f4071b371f

View file

@ -19,9 +19,10 @@ _configure_framagames() {
--match_string="framanav: true" \
--replace_string="framanav: false"
# %/ is here to prevent double slash
ynh_replace_string --target_file="$install_dir/sources/config/env.js" \
--match_string=": '/'," \
--replace_string=": '$path/',"
--replace_string=": '${path%/}/',"
}
_build_install_framagames() {