mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-25 17:33:17 +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..."
|
||||
& 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
|
||||
|
Loading…
Reference in New Issue
Block a user