diff --git a/DnsServerApp.NETCore/install-raspi.sh b/DnsServerApp.NETCore/install-raspi.sh index a0f68b9b..3d4a519b 100644 --- a/DnsServerApp.NETCore/install-raspi.sh +++ b/DnsServerApp.NETCore/install-raspi.sh @@ -17,21 +17,21 @@ echo "" echo "===============================" echo "Technitium DNS Server Installer" echo "===============================" -echo "" -echo "Installing dependencies..." - -until apt-get -y update >> $installLog 2>&1 && apt-get -y install curl libunwind8 gettext apt-transport-https >> $installLog 2>&1 -do - echo "Trying again.." - sleep 2 -done - echo "" if [ -d "$aspnetcoreTestDir" ] && [ -f "/usr/bin/dotnet" ] then echo ".NET Core Runtime was found installed." else + echo "Installing dependencies..." + + until apt-get -y update >> $installLog 2>&1 && apt-get -y install curl libunwind8 gettext apt-transport-https >> $installLog 2>&1 + do + echo "Trying again.." + sleep 2 + done + + echo "" echo "Downloading .NET Core Runtime..." mkdir -p $aspnetcoreDir