mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-21 23:43:25 +01:00
Add executable bits for Linux
This commit is contained in:
parent
3d43a360b6
commit
61f91d2a0a
@ -53,12 +53,12 @@ try {
|
||||
& sudo unbound-control status
|
||||
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"
|
||||
if ($lastExitCode -ne "0") { throw "'unbound-control status' failed" }
|
||||
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ installed Unbound in $Elapsed sec"
|
||||
"✔️ Installed Unbound in $Elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
0
Scripts/play-pong.ps1
Normal file → Executable file
0
Scripts/play-pong.ps1
Normal file → Executable file
0
Scripts/play-rick.ps1
Normal file → Executable file
0
Scripts/play-rick.ps1
Normal file → Executable file
Loading…
Reference in New Issue
Block a user