chore(style): convert blocks into functions (see #325)
[webi-installers/.git] / powershell / install.sh
index 5a81b9bbecd98e009d9e12907eaabc208bc85cde..01f5d02477757dcfd2050ce0160b3ad7c9207f42 100644 (file)
@@ -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