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.

21 lines
482 B

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