Closed lurch closed 8 years ago
Yep, on the TODO list! I'll probably throw in a temporary band aid until I get time to do this properly though...
band aid in place, i.e all scripts will now pause after calling the hardware check/enablers to give users a chance to catch the 'reboot required' messages. Just a temporary solution but should help some.
band aid didn't work so I bit the bullet and brainstormed the most logical way to do it.
Whether or not I did it in a way that makes sense I'm not sure but due to changes desirable after reviewing issue #41 it seemed that passing around variables was unnecessary and weak.
... it may not behave as expected in all figure cases but by large it should, and where it does not it should just bring back the annoyances of the previous system, nothing worst.
this should be taken care of now.
Bit hard to explain, so let me show you by example:
curl -sSL get.pimoroni.com/drumhat | bash
(install appears to run fine)drums.py
exampledrumhat
installer actually also called thei2c
installer, and thei2c
installer needed a rebootdrums.py
example now works!It would be nice in this example if the
i2c
installer could communicate "back up" to thedrumhat
installer (in step 6) that a change that requires a reboot was made, so that at the end of thedrumhat
installation it could prompt the user that a reboot is required.