From b82b5f110fd646dd8f5ef565e9f37f9f9241fe72 Mon Sep 17 00:00:00 2001
From: Paul Beuchat <beuchatp@control.ee.ethz.ch>
Date: Thu, 30 May 2019 17:10:41 +0200
Subject: [PATCH] Added install git command to installation scripts. The
 installation script is tested and working for a fresh install of ubuntu 18.04

---
 install/dfall_install_ros_kinetic_ubuntu16.sh | 5 +++++
 install/dfall_install_ros_melodic_ubuntu18.sh | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/install/dfall_install_ros_kinetic_ubuntu16.sh b/install/dfall_install_ros_kinetic_ubuntu16.sh
index 2b8e00c3..00fc56e9 100755
--- a/install/dfall_install_ros_kinetic_ubuntu16.sh
+++ b/install/dfall_install_ros_kinetic_ubuntu16.sh
@@ -94,8 +94,13 @@ sudo apt -y install qtcreator
 # Make the "work" directory under the users root
 # > Note: the -p option means: no error if existing, make parent directories as needed
 mkdir -p ~/work
+
 # Change directory to this folder
 cd ~/work
+
+# Install git
+sudo apt -y install git
+
 # Clone the D-FaLL-System git repository
 git clone https://gitlab.ethz.ch/D-FaLL/PandS-System/D-FaLL-System.git
 
diff --git a/install/dfall_install_ros_melodic_ubuntu18.sh b/install/dfall_install_ros_melodic_ubuntu18.sh
index a9b6868d..86163c1c 100755
--- a/install/dfall_install_ros_melodic_ubuntu18.sh
+++ b/install/dfall_install_ros_melodic_ubuntu18.sh
@@ -94,8 +94,13 @@ sudo apt -y install qtcreator
 # Make the "work" directory under the users root
 # > Note: the -p option means: no error if existing, make parent directories as needed
 mkdir -p ~/work
+
 # Change directory to this folder
 cd ~/work
+
+# Install git
+sudo apt -y install git
+
 # Clone the D-FaLL-System git repository
 git clone https://gitlab.ethz.ch/D-FaLL/PandS-System/D-FaLL-System.git
 
-- 
GitLab