From ec290199622aee785738fc0585f9b3214e702803 Mon Sep 17 00:00:00 2001
From: Wolfgang Hess <whess@lyft.com>
Date: Thu, 23 Jul 2020 10:57:35 +0200
Subject: [PATCH] Remove support for Debian Jessie. (#1496)

It has reached end-of-life with the
end of LTS on June 30, 2020.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
---
 scripts/install_debs.sh | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/scripts/install_debs.sh b/scripts/install_debs.sh
index ca42f8d..d343526 100755
--- a/scripts/install_debs.sh
+++ b/scripts/install_debs.sh
@@ -17,26 +17,14 @@
 set -o errexit
 set -o verbose
 
-# Install CMake 3.2 for Debian Jessie.
+# Install CMake, Ninja, stow.
 sudo apt-get update
-sudo apt-get install lsb-release -y
-if [[ "$(lsb_release -sc)" = "jessie" ]]
-then
-  sudo sh -c "echo 'deb http://ftp.debian.org/debian jessie-backports main' >> /etc/apt/sources.list"
-  sudo apt-get update
-  sudo apt-get -t jessie-backports install cmake -y
-else
-  sudo apt-get install cmake -y
-fi
+sudo apt-get install -y lsb-release cmake ninja-build stow
 
 . /opt/ros/${ROS_DISTRO}/setup.sh
 
 cd catkin_ws
 
-# Install Ninja and stow.
-apt-get update
-apt-get install -y ninja-build stow
-
 # Install rosdep dependencies.
 rosdep update
 rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y