From ab11d40d33145e88cf47ebc736349af6eae2dcb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tiago=20Concei=C3=A7=C3=A3o?= Date: Sun, 23 Oct 2022 22:18:49 +0100 Subject: Refactorings --- Scripts/install-dependencies.sh | 8 ++++---- build/createRelease.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Scripts/install-dependencies.sh b/Scripts/install-dependencies.sh index be76ec0..dd06155 100644 --- a/Scripts/install-dependencies.sh +++ b/Scripts/install-dependencies.sh @@ -32,10 +32,10 @@ if [ "${OSTYPE:0:6}" == "darwin" ]; then #brew install --cask dotnet elif testcmd apt-get; then osVariant="debian" - apt-get update - apt-get install -y libdc1394-22 libopenexr24 - apt-get install -y libdc1394-25 libopenexr25 - apt-get install -y libjpeg-dev libpng-dev libgeotiff-dev libgeotiff5 libavcodec-dev libavformat-dev libswscale-dev libtbb-dev libgl1-mesa-dev libgdiplus + apt update + apt install -y libdc1394-22 libopenexr24 + apt install -y libdc1394-25 libopenexr25 + apt install -y libjpeg-dev libpng-dev libgeotiff-dev libgeotiff5 libavcodec-dev libavformat-dev libswscale-dev libtbb-dev libgl1-mesa-dev libgdiplus elif testcmd pacman; then osVariant="arch" pacman -Syu diff --git a/build/createRelease.sh b/build/createRelease.sh index 88f98c0..3bba087 100644 --- a/build/createRelease.sh +++ b/build/createRelease.sh @@ -28,7 +28,7 @@ publishDir="$rootDir/publish" publishRuntimeDir="$publishDir/$publishName" buildProject="UVtools.WPF" cmdProject="UVtools.Cmd" -buildWith="Release" +buildWith="Release" # Release or Debug projectDir="$rootDir/$buildProject" cmdProjectDir="$rootDir/$cmdProject" netVersion="6.0" -- cgit v1.2.3