mirror of
https://github.com/YunoHost-Apps/framagames_ynh.git
synced 2024-09-03 18:36:28 +02:00
Fix upgrade
This commit is contained in:
parent
97a2f6d0c2
commit
f3b8513d4c
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ _build_install_framagames() {
|
||||||
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" "$ynh_npm" run prod
|
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" "$ynh_npm" run prod
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
ynh_secure_remove --file="$install_dir/www"
|
||||||
mv -f "$install_dir/sources/dist" "$install_dir/www"
|
mv -f "$install_dir/sources/dist" "$install_dir/www"
|
||||||
mv -f "$install_dir/sources/games/"* "$install_dir/www"
|
mv -f "$install_dir/sources/games/"* "$install_dir/www"
|
||||||
mv -f "$install_dir/www/framagames/"* "$install_dir/www"
|
mv -f "$install_dir/www/framagames/"* "$install_dir/www"
|
||||||
|
|
Loading…
Reference in a new issue