provisioning tool for building opinionated architecture
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
375 B

7 months ago
  1. #!/bin/bash
  2. ### CHECK
  3. function check() {
  4. PREFIX="recipe:stub:check"
  5. }
  6. ### INSTALL
  7. function install() {
  8. PREFIX="recipe:stub:install"
  9. : $PREFIX
  10. launch_container "$CONTAINER"
  11. echo "initializing Stub ... "
  12. PREFIX="" echo "OK"
  13. }
  14. ### MAIN
  15. . "$MIAOU_BASEDIR/lib/init.sh"
  16. arg1_required "$@"
  17. readonly CONTAINER="$1"
  18. check || (
  19. install
  20. check
  21. )