update postintsall scripts with shebang and set -eEu