|
@ -2,6 +2,20 @@ |
|
|
|
|
|
|
|
|
## For shyaml |
|
|
## For shyaml |
|
|
|
|
|
|
|
|
|
|
|
case $(lsb_release -is) in |
|
|
|
|
|
Debian) |
|
|
|
|
|
case $(lsb_release -rs) in |
|
|
|
|
|
11) |
|
|
|
|
|
apt-get install -y python3-pip libyaml-dev python3-dev </dev/null |
|
|
|
|
|
;; |
|
|
|
|
|
*) |
|
|
apt-get install -y python-pip libyaml-dev python-dev </dev/null |
|
|
apt-get install -y python-pip libyaml-dev python-dev </dev/null |
|
|
|
|
|
;; |
|
|
|
|
|
esac |
|
|
|
|
|
;; |
|
|
|
|
|
*) |
|
|
|
|
|
apt-get install -y python-pip libyaml-dev python-dev </dev/null |
|
|
|
|
|
;; |
|
|
|
|
|
esac |
|
|
|
|
|
|
|
|
pip install shyaml --upgrade |
|
|
pip install shyaml --upgrade |