mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-29 11:24:27 +01:00
Update install-unbound.ps1
This commit is contained in:
parent
21675577c1
commit
cedeace2fb
@ -18,11 +18,11 @@ try {
|
|||||||
|
|
||||||
"⏳ Step 1/10: Updating package infos..."
|
"⏳ Step 1/10: Updating package infos..."
|
||||||
& sudo apt update -y
|
& 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..."
|
"⏳ Step 2/10: Installing Unbound package..."
|
||||||
& sudo apt install unbound -y
|
& sudo apt install unbound unbound-anchor -y
|
||||||
if ($lastExitCode -ne "0") { throw "'sudo apt install unbound' failed" }
|
if ($lastExitCode -ne "0") { throw "'apt install unbound' failed" }
|
||||||
|
|
||||||
"⏳ Step 3/10: Setting up Unbound..."
|
"⏳ Step 3/10: Setting up Unbound..."
|
||||||
& sudo unbound-control-setup
|
& sudo unbound-control-setup
|
||||||
|
Loading…
Reference in New Issue
Block a user