From 4b04268304a2f798cea110415f360c165395b4fb Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Wed, 9 Jan 2019 13:14:24 +0000 Subject: [PATCH] pkgmgr: Fix games list not being updated after game install Fixes #8074 --- builtin/mainmenu/pkgmgr.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/builtin/mainmenu/pkgmgr.lua b/builtin/mainmenu/pkgmgr.lua index f6015ef72..cea373c9f 100644 --- a/builtin/mainmenu/pkgmgr.lua +++ b/builtin/mainmenu/pkgmgr.lua @@ -505,7 +505,11 @@ function pkgmgr.install_dir(type, path, basename, targetpath) fgettext("Failed to install $1 to $2", basename, targetpath) end - pkgmgr.refresh_globals() + if basefolder.type == "game" then + pkgmgr.update_gamelist() + else + pkgmgr.refresh_globals() + end return targetpath, nil end -- 2.25.1