From cedeace2fb6325cdaf6e0253f507a86efa921acd Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 2 Apr 2023 11:03:40 +0200 Subject: [PATCH] Update install-unbound.ps1 --- Scripts/install-unbound.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Scripts/install-unbound.ps1 b/Scripts/install-unbound.ps1 index 26b42e7a..269693c1 100755 --- a/Scripts/install-unbound.ps1 +++ b/Scripts/install-unbound.ps1 @@ -18,11 +18,11 @@ try { "⏳ Step 1/10: Updating package infos..." & sudo apt update -y - if ($lastExitCode -ne "0") { throw "'sudo apt update' failed" } + if ($lastExitCode -ne "0") { throw "'apt update' failed" } "⏳ Step 2/10: Installing Unbound package..." - & sudo apt install unbound -y - if ($lastExitCode -ne "0") { throw "'sudo apt install unbound' failed" } + & sudo apt install unbound unbound-anchor -y + if ($lastExitCode -ne "0") { throw "'apt install unbound' failed" } "⏳ Step 3/10: Setting up Unbound..." & sudo unbound-control-setup