Theme component upgrade via rake not working

I couldn’t figure out why the update doesn’t work, but thought of a workaround–adding an uninstall command. Uninstalling the theme before using the rake install command seems to be working.

I raised a short PR to check if this approach is ok to pursue: [WIP] FEATURE: Rake task to uninstall theme by chandandi · Pull Request #10138 · discourse/discourse · GitHub