diff --git a/_webi/bootstrap.sh b/_webi/bootstrap.sh index ec5eea5..e6e0ed7 100644 --- a/_webi/bootstrap.sh +++ b/_webi/bootstrap.sh @@ -117,7 +117,7 @@ __webi_main() { set -e ( - cd "\$WEBI_BOOT" > /dev/null 2>&1 + cd "\$WEBI_BOOT" sh "\$my_package-bootstrap.sh" ) diff --git a/_webi/example_install_safe_copy.sh b/_webi/example_install_safe_copy.sh index e0ba71d..8105a6c 100644 --- a/_webi/example_install_safe_copy.sh +++ b/_webi/example_install_safe_copy.sh @@ -2,7 +2,7 @@ # For installing from the extracted package tmp directory pkg_install() { ( - cd "$WEBI_TMP" 2>&1 > /dev/null + cd "$WEBI_TMP" if command -v rsync 2> /dev/null | grep -q rsync; then rsync -Krl ./xmpl*/ "$pkg_src/" 2> /dev/null diff --git a/_webi/template.sh b/_webi/template.sh index 3138163..d5fb017 100644 --- a/_webi/template.sh +++ b/_webi/template.sh @@ -219,7 +219,7 @@ __bootstrap_webi() { # detect which archives can be used webi_extract() { ( - cd "$WEBI_TMP" > /dev/null 2>&1 + cd "$WEBI_TMP" if [ "tar" = "$WEBI_EXT" ]; then echo "Extracting ${WEBI_PKG_PATH}/$WEBI_PKG_FILE" tar xf "${WEBI_PKG_PATH}/$WEBI_PKG_FILE" @@ -396,7 +396,7 @@ __bootstrap_webi() { if [ -n "$(command -v pkg_pre_install)" ]; then pkg_pre_install; else webi_pre_install; fi ( - cd "$WEBI_TMP" > /dev/null 2>&1 + cd "$WEBI_TMP" echo "Installing to $pkg_src_cmd" if [ -n "$(command -v pkg_install)" ]; then pkg_install; else webi_install; fi chmod a+x "$pkg_src" @@ -407,12 +407,12 @@ __bootstrap_webi() { _webi_enable_exec ( - cd "$WEBI_TMP" > /dev/null 2>&1 + cd "$WEBI_TMP" if [ -n "$(command -v pkg_post_install)" ]; then pkg_post_install; else webi_post_install; fi ) ( - cd "$WEBI_TMP" > /dev/null 2>&1 + cd "$WEBI_TMP" if [ -n "$(command -v pkg_done_message)" ]; then pkg_done_message; else _webi_done_message; fi ) diff --git a/macos/install.sh b/macos/install.sh index f5ef470..92b1fcf 100644 --- a/macos/install.sh +++ b/macos/install.sh @@ -6,7 +6,7 @@ main() { webi_download ( - cd ~/Downloads/webi 2>&1 > /dev/null + cd ~/Downloads/webi if [ "Darwin" = "$(uname -s)" ]; then curl -fsSL 'https://gist.githubusercontent.com/coolaj86/8c36d132250163011c83bad8284975ee/raw/5a291955813743c20c12ca2d35c7b1bb34f8aecc/create-bootable-installer-for-os-x-el-capitan.sh' -o create-bootable-installer-for-os-x-el-capitan.sh diff --git a/test/install.sh b/test/install.sh index e17b701..7a36c9c 100644 --- a/test/install.sh +++ b/test/install.sh @@ -5,7 +5,7 @@ set -u __rmrf_local() { if [ -d "${HOME}/.local/opt" ]; then ( - cd "${HOME}/.local/opt" 2>&1 > /dev/null + cd "${HOME}/.local/opt" rm -rf \ arc \ archiver \ @@ -98,7 +98,7 @@ __rmrf_local() { #postgresql \ ) ( - cd "${HOME}/.local/bin" 2>&1 > /dev/null + cd "${HOME}/.local/bin" rm -f \ arc \ archiver \