X-Git-Url: https://git.josue.xyz/?p=webi-installers%2F.git;a=blobdiff_plain;f=_webi%2Fexample_install_safe_copy.sh;fp=_webi%2Fexample_install_safe_copy.sh;h=32ac3e0c42216608f6e6daeb16b1b96d8f8bda7b;hp=e1600bb5822d1ead28eb31851681aebb3a9fbd62;hb=ca7a838c6fde6052124947ff442aa9e6056f5e28;hpb=704265583cff80363fec60c4088f5b91f6d98bd0 diff --git a/_webi/example_install_safe_copy.sh b/_webi/example_install_safe_copy.sh index e1600bb..32ac3e0 100644 --- a/_webi/example_install_safe_copy.sh +++ b/_webi/example_install_safe_copy.sh @@ -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