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.

23 lines
492 B

  1. #!/bin/bash
  2. set -eux
  3. ## For shyaml
  4. case $(lsb_release -is) in
  5. Debian)
  6. case $(lsb_release -rs) in
  7. 11)
  8. apt-get install -y python3-pip libyaml-dev python3-dev </dev/null
  9. ;;
  10. *)
  11. apt-get install -y python-pip libyaml-dev python-dev </dev/null
  12. ;;
  13. esac
  14. ;;
  15. *)
  16. apt-get install -y python-pip libyaml-dev python-dev </dev/null
  17. ;;
  18. esac
  19. pip install shyaml --upgrade