Commit 29adcf35 authored by Tomas Petricek's avatar Tomas Petricek
Browse files

Adding silent yes to update & upgrade, remove duplicate ones later on.

parent b5ca7784
...@@ -5,7 +5,7 @@ From: ros:melodic-ros-core ...@@ -5,7 +5,7 @@ From: ros:melodic-ros-core
sudo /usr/bin/sudo sudo /usr/bin/sudo
%post %post
sudo apt-get update && sudo apt-get dist-upgrade sudo apt-get update -y && sudo apt-get dist-upgrade -y
tmp="$(mktemp -d)" tmp="$(mktemp -d)"
cd "${tmp}" cd "${tmp}"
...@@ -13,10 +13,7 @@ From: ros:melodic-ros-core ...@@ -13,10 +13,7 @@ From: ros:melodic-ros-core
cd deploy cd deploy
scripts/install_librealsense scripts/install_librealsense
xargs -a config/realsense.apt apt-get install -y
apt-get update -y \
&& apt-get dist-upgrade -y \
&& xargs -a config/realsense.apt apt-get install -y
ws=/opt/ros/realsense ws=/opt/ros/realsense
ros=melodic \ ros=melodic \
......
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