##// END OF EJS Templates
automation: use LSB_RELEASE instead of DEBIAN_VERSION...
Gregory Szorc -
r43281:198b51d4 default
parent child Browse files
Show More
@@ -187,7 +187,7 b' EOF'
187
187
188 sudo apt-key add docker-apt-key
188 sudo apt-key add docker-apt-key
189
189
190 if [ "$DEBIAN_VERSION" = "9.8" ]; then
190 if [ "$LSB_RELEASE" = "stretch" ]; then
191 cat << EOF | sudo tee -a /etc/apt/sources.list
191 cat << EOF | sudo tee -a /etc/apt/sources.list
192 # Need backports for clang-format-6.0
192 # Need backports for clang-format-6.0
193 deb http://deb.debian.org/debian stretch-backports main
193 deb http://deb.debian.org/debian stretch-backports main
@@ -271,7 +271,7 b' PACKAGES="\\'
271 zip \
271 zip \
272 zlib1g-dev"
272 zlib1g-dev"
273
273
274 if [ "$DEBIAN_VERSION" = "9.8" ]; then
274 if [ "LSB_RELEASE" = "stretch" ]; then
275 PACKAGES="$PACKAGES linux-perf"
275 PACKAGES="$PACKAGES linux-perf"
276 elif [ "$DISTRO" = "Ubuntu" ]; then
276 elif [ "$DISTRO" = "Ubuntu" ]; then
277 PACKAGES="$PACKAGES linux-tools-common"
277 PACKAGES="$PACKAGES linux-tools-common"
General Comments 0
You need to be logged in to leave comments. Login now