Update install-dependencies.sh

This commit is contained in:
Tiago Conceição
2022-10-10 23:47:53 +01:00
parent be5c25bdf7
commit c0531113cb
+10 -1
View File
@@ -13,6 +13,9 @@ if [[ $EUID -ne 0 ]]; then
exit 1
fi
arch_name="$(uname -m)"
osVariant=""
if [[ "$arch_name" != "x86_64" && "$arch_name" != "arm64" ]]; then
echo "Error: Unsupported host arch: $arch_name"
exit -1
@@ -46,4 +49,10 @@ then
yum install -y libjpeg-devel libjpeg-turbo-devel libpng-devel libgeotiff-devel libdc1394-devel ffmpeg-devel tbb-devel mesa-libGL wget
fi
echo "Completed - You can now run UVtools"
if [ "$osVariant" == "" ]; then
echo "Error: Base operative system / package manager not identified, nothing was installed"
else
echo "Completed: You can now run UVtools"
fi