diff --git a/automation_tools/force_update_submodules.sh b/automation_tools/force_update_submodules.sh index 4c80cbcf..56bb8cbd 100755 --- a/automation_tools/force_update_submodules.sh +++ b/automation_tools/force_update_submodules.sh @@ -13,6 +13,8 @@ rm -rf rd-submodules/shared-modules git rm -rf --cached rd-submodules/shared-modules rm -rf .git/modules/rd-submodules/shared-modules +git submodule foreach --recursive git reset --hard +git submodule foreach --recursive git clean -xdf git submodule init git submodule add https://github.com/flathub/shared-modules.git rd-submodules/shared-modules git submodule add https://github.com/flathub/org.libretro.RetroArch rd-submodules/retroarch