RPi-Distro / raspi-config

Configuration tool for the Raspberry Pi
Other
565 stars 206 forks source link

Stop do_update from entering interactive mode #214

Closed m5p3nc3r closed 6 months ago

m5p3nc3r commented 1 year ago

When running in non-interactive mode, prevent do_update from entering interactive mode on completion.

This is in response to issue #213

XECDesign commented 1 year ago

That was quick.

It might be worth keeping the &&. If apt-get fails for whatever reason, the error message wouldn't be seen now.

m5p3nc3r commented 1 year ago

I must admit, my script-fu is not what it should be. I have updated the patch, is that what you were expecting?

XECDesign commented 1 year ago

my script-fu is not what it should be.

The raspi-config is far from being an example of good script-fu, so that's alright.

Looks okay. I'll merge when I get a chance to check that it behaves as expected.

Thanks