#!/bin/sh export DEBIAN_FRONTEND=noninteractive apt update -y apt install -y pkg-config cmake make g++ if [ $? -eq 0 ] then apt install -y ffmpeg apt install -y libavcodec-dev apt install -y libavformat-dev apt install -y libavutil-dev apt install -y libswscale-dev apt install -y x264 apt install -y libx264-dev apt install -y libilmbase-dev apt install -y qt6-base-dev apt install -y qtchooser apt install -y qmake6 apt install -y qt6-base-dev-tools apt install -y libxkbcommon-dev apt install -y libfuse-dev apt install -y fuse3 sh imgmagick_build.sh fi