chore(style): convert blocks into functions (see #325)
[webi-installers/.git] / _webi / example_install_safe_copy.sh
index e1600bb5822d1ead28eb31851681aebb3a9fbd62..32ac3e0c42216608f6e6daeb16b1b96d8f8bda7b 100644 (file)
@@ -1,5 +1,6 @@
+#!/bin/bash
 # For installing from the extracted package tmp directory
-pkg_install() {
+function pkg_install() {
     pushd "$WEBI_TMP" 2>&1 > /dev/null
 
     if [ -n "$(command -v rsync 2> /dev/null | grep rsync)" ]; then