Description of problem: Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1362044 Instead of writing the bash script to a temporary file and then executing it, the script can directly be executed via "bash -c" command-line directly from the lua environment.
Looks like this is already fixed as part of rebase. Can we close the bug? or is there anything else to change in RHGS specific spec files?
Changes are required in downstream SPEC file since %pretrans scriptlets are specific to downstream
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0658