chore: make approve_scripts tests less flaky (#32059)
We were looking for a line from the progress bar to see that the scripts
_actually_ ran, but it's not guaranteed that part of the progress bar
will be rendered (since it only renders every so often, some steps might
not actually display). Instead, write a file as part of the install
script and check that it exists