mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-04-21 09:26:41 +00:00
chore(style): convert blocks into functions (see #325)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
{
|
||||
function __init_powershell() {
|
||||
set -e
|
||||
set -u
|
||||
|
||||
@@ -40,3 +40,5 @@
|
||||
echo "Installed 'pwsh' at $pkg_dst"
|
||||
}
|
||||
}
|
||||
|
||||
__init_powershell
|
||||
|
||||
Reference in New Issue
Block a user