Add executable bits for Linux

This commit is contained in:
Markus Fleschutz 2023-09-20 17:04:17 +02:00
parent 3d43a360b6
commit 61f91d2a0a
3 changed files with 2 additions and 2 deletions

View File

@ -53,12 +53,12 @@ try {
& sudo unbound-control status & sudo unbound-control status
if ($lastExitCode -ne "0") { throw "'unbound-control status' failed" } if ($lastExitCode -ne "0") { throw "'unbound-control status' failed" }
"⏳ (10/10) Training Unbound with 200 popular domain names..." "⏳ (10/10) Training Unbound with 100 popular domain names..."
& "$PSScriptRoot/check-dns.ps1" & "$PSScriptRoot/check-dns.ps1"
if ($lastExitCode -ne "0") { throw "'unbound-control status' failed" } if ($lastExitCode -ne "0") { throw "'unbound-control status' failed" }
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
"✔️ installed Unbound in $Elapsed sec" "✔️ Installed Unbound in $Elapsed sec"
exit 0 # success exit 0 # success
} catch { } catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"

0
Scripts/play-pong.ps1 Normal file → Executable file
View File

0
Scripts/play-rick.ps1 Normal file → Executable file
View File