From f8cf92f6a37ed29ee23d593e55b287c95d357174 Mon Sep 17 00:00:00 2001 From: Stephan Wendel Date: Wed, 27 Oct 2021 19:14:50 +0200 Subject: [PATCH] Added 'apt update' to installer_ms050.sh Signed-off-by: Stephan Wendel --- installer_ms050.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installer_ms050.sh b/installer_ms050.sh index 9b9ce62..a0c59a8 100755 --- a/installer_ms050.sh +++ b/installer_ms050.sh @@ -61,6 +61,7 @@ cd ~ git clone https://github.com/pikvm/ustreamer.git cd ustreamer if [[ "$(cat /proc/device-tree/model | cut -d ' ' -f1)" = "Raspberry" ]]; then + sudo apt update sudo apt install build-essential libevent-dev libjpeg-dev libbsd-dev \ libraspberrypi-dev libgpiod-dev -y export WITH_OMX=1 @@ -68,6 +69,7 @@ if [[ "$(cat /proc/device-tree/model | cut -d ' ' -f1)" = "Raspberry" ]]; then echo -e "Create symlink..." sudo ln -sf ${HOME}/ustreamer/ustreamer /usr/local/bin/ else + sudo apt update sudo apt install build-essential libevent-dev libjpeg-dev libbsd-dev \ libgpiod-dev -y make -j $(nproc)