1
0
Fork 0
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:
Salamandar 2024-07-12 13:39:11 +02:00
parent 97a2f6d0c2
commit f3b8513d4c

View file

@ -31,6 +31,7 @@ _build_install_framagames() {
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" "$ynh_npm" run prod
popd
ynh_secure_remove --file="$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/www/framagames/"* "$install_dir/www"