How to run dietpi-software reinstall completely in the background (no prompts)?

Hi everyone,

I’m trying to script a fully automated background reinstallation of certain DietPi software titles (like Gitea/Roon Extension Manager which aren’t updated via apt).

I know the command:

dietpi-software reinstall <ID>

I need this to run completely non-interactively in a script/cron job without any prompts, config questions, or user interaction.

Since the installation of Gitea does not need any user input (not sure about Roon extension manager) the only “problem” is the prompt for the backup, right?

You can just use export G_INTERACTIVE=0 inside your script and the prompt will not appear.