diff --git a/image_builder/scripts/software_install.sh b/image_builder/scripts/software_install.sh index f2b439f3..03229fbe 100755 --- a/image_builder/scripts/software_install.sh +++ b/image_builder/scripts/software_install.sh @@ -26,14 +26,17 @@ echo_stamp() { echo -e ${TEXT} } -echo_stamp "#0 to /dev/null" +echo_stamp "Installation OpenCV" -echo "dasfasfdsagfasdgagasgas" >/dev/null 2>&1 || true +apt-get install --no-install-recommends -y -qq \ + ros-kinetic-opencv3=3.3.1-0stretch \ + > /dev/null \ + && echo_stamp "OpenCV3 was installed!" "SUCCESS" \ + || (echo_stamp "OpenCV3 wasn't installed!" "ERROR"; exit 1) echo_stamp "#1 Software installing" apt-get install --no-install-recommends -y -qq \ - ros-kinetic-opencv3=3.3.1-0stretch \ unzip=6.0-21 \ zip=3.0-11 \ ipython=5.1.0-3 \ @@ -58,14 +61,6 @@ apt-get install --no-install-recommends -y -qq \ exit 2 -echo_stamp "Installation opencv" - -apt-get install --no-install-recommends -y -qq \ - ros-kinetic-opencv3=3.3.1-0stretch \ - > /dev/null \ - && echo_stamp "OpenCV3 was installed!" "SUCCESS" \ - || (echo_stamp "OpenCV3 wasn't installed!" "ERROR"; exit 1) - echo_stamp "#2 Adding mjpg-streamer at /home/pi" # https://github.com/jacksonliam/mjpg-streamer