Saltstack Official FirewallD Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

12345678910111213141516
  1. #!/usr/bin/env sh
  2. set -o nounset # Treat unset variables as an error and immediately exit
  3. set -o errexit # If a command fails exit the whole script
  4. if [ "${DEBUG:-false}" = "true" ]; then
  5. set -x # Run the entire script in debug mode
  6. fi
  7. if ! command -v pre-commit >/dev/null 2>&1; then
  8. echo "pre-commit not found: please install or check your PATH" >&2
  9. echo "See https://pre-commit.com/#installation" >&2
  10. exit 1
  11. fi
  12. pre-commit install --install-hooks
  13. pre-commit install --hook-type commit-msg --install-hooks