I was wrong lol. Now testing yet another revision, much time is taken waiting for the computer to run tests.
I wasn't completely wrong, I did solve one big obstacle, but it was only PART of a bigger obstacle. I'm still having the script fail on devuan after succeeding on debian, it just has less reason to fail now...