macadmins/installapplications

userland rootscript does not wait for userland

MichalMMac opened this issue · 2 comments

Currently code for checking if we are not in setupassistant is only in package installation if/else branch.

When there is no package in userland section of installapplications.json (only rootscripts), installapplications.py does not wait for user to log in. Rootscripts in userland section are executed during setup assistant as if they were in setupassistant section.

Is there a reason for this or should we improve the code?

I created PR #49 with simple change to deal with this. (I did not study entire installapplications.py source code).

Now addressed in new version