At this point, it’s going to require a lot of time to review that, but this looks like a really badly packaged app. From a quick look, this does curl requests in those scripts, which will never work (rpm-ostree runs scriptlets without access to the internet).
You should ask them to move all of that into proper systemd units or other setup scripts that do things at the right time and not at install time which is not the right time.