Commit acfd8528 authored by Tomasz Kucner's avatar Tomasz Kucner
Browse files

sudo removed from setup.sh

parent 7dd90aa4
......@@ -11,7 +11,7 @@ ubuntu-xenial:
- apt-get install -qq -y apt-transport-https sed wget unzip > /dev/null
- source .gitlab-ci/prepare.sh
- chmod +x setup.sh
- ./setup.sh $UBUNTU_DISTRO $CI_ROS_DISTRO > /dev/null
- ./setup.sh $UBUNTU_DISTRO $CI_ROS_DISTRO > /dev/null
- setup_apt ${UBUNTU_DISTRO}
# - apt-get install -qq -y python-catkin-tools v4r > /dev/null
- apt-get install -qq -y python-catkin-tools > /dev/null
......
......@@ -22,13 +22,13 @@ echo "Installing Dependencies for V4R (Ubuntu ${ubuntu_version_name} using ROS $
echo "If you want to change this you can pass in the codename of the Ubuntu release. Eg. $0 xenial kinetic for 16.04 with ROS kinetic"
if [ ! -f /etc/apt/sources.list.d/ros-latest.list ]; then
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu '${ubuntu_version_name}' main" > /etc/apt/sources.list.d/ros-latest.list'
sh -c 'echo "deb http://packages.ros.org/ros/ubuntu '${ubuntu_version_name}' main" > /etc/apt/sources.list.d/ros-latest.list'
fi
wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
sudo apt-get update -qq > /dev/null
sudo apt-get install -qq -y python-rosdep build-essential cmake > /dev/null
sudo rosdep init > /dev/null
wget http://packages.ros.org/ros.key -O - | apt-key add -
apt-get update -qq > /dev/null
apt-get install -qq -y python-rosdep build-essential cmake > /dev/null
rosdep init > /dev/null
rosdep update 2> /dev/null
rosdep install -q --from-paths . -i -y -r --rosdistro ${ros_version} 2> /dev/null
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment