File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -102,34 +102,14 @@ install() {
102
102
esac
103
103
}
104
104
105
- install_pip () {
106
- curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
107
- python get-pip.py
108
- rm get-pip.py
109
- }
110
-
111
105
install_linux () {
112
106
# Update apt-get.
113
107
apt-get -y update
114
108
115
109
# Install packages. Note that word splitting is desired behavior.
116
- if [ " $INSTALL_TYPE " == " build " ] || [ " $INSTALL_TYPE " = " all" ]; then
110
+ if [ " $INSTALL_TYPE " = " all" ]; then
117
111
apt-get -y install $( IFS=$' ' ; echo " ${LINUX_BUILD_PACKAGES[*]} " )
118
112
fi
119
- if [ " $INSTALL_TYPE " == " test" ] || [ " $INSTALL_TYPE " = " all" ]; then
120
- apt-get -y install $( IFS=$' ' ; echo " ${LINUX_TEST_PACKAGES[*]} " )
121
- fi
122
-
123
- if [ " $INSTALL_TYPE " == " build" ] || [ " $INSTALL_TYPE " = " all" ]; then
124
- for pkg in " ${PYTHON_BUILD_PACKAGES[@]} " ; do
125
- python3 -m pip show $pkg || python3 -m pip install $pkg
126
- done
127
- fi
128
- if [ " $INSTALL_TYPE " == " test" ] || [ " $INSTALL_TYPE " = " all" ]; then
129
- for pkg in " ${PYTHON_TEST_PACKAGES[@]} " ; do
130
- python3 -m pip show $pkg || python3 -m pip install $pkg
131
- done
132
- fi
133
113
}
134
114
135
115
main " $@ "
You can’t perform that action at this time.
0 commit comments