Can I make `ujust update` not prompt me at end of run?

I would like to implement the ujust update command into my shutdown script but since a successful run waits for user input, it hangs when used in scripts meant to run with no user interaction.

I’ve read the docs on ujust commands but didn’t see any -y -like options to have it not prompt for user input. Running things like ujust update -h or -help or help don’t seem to show any other switches I could use to help automate the response either.

Is there a way to include ujust update in my script and not have it hang?

All that command does is call topgrade so what you likely wanna do is alias that to do a topgrade -y --config /usr/share/ublue-os/topgrade.toml.

That’s the default config or you could also do your own topgrade config if you really wanna tweak it.

1 Like

That is perfect. I should have done some more digging.

Thank you!

1 Like