update postinstall scripts in examples with bash shebang and set -eEu; update validate scripts

update postinstall scripts in lazy example with bash shebang and set -eEu

update repos check in lazy postinstall scripts

update repos check in lazy postinstall scripts

update postinstall scripts in injection example with bash shebang and set -eEu

be silent