From a015db2d164645419c6e8d965c6d7ca29538b1e6 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 30 Jun 2018 18:27:47 -0600 Subject: [PATCH] silence! --- usr/share/install_helper.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usr/share/install_helper.sh b/usr/share/install_helper.sh index a66b0b0..c66971e 100644 --- a/usr/share/install_helper.sh +++ b/usr/share/install_helper.sh @@ -404,8 +404,10 @@ if [ -d "/Library/LaunchDaemons" ]; then my_sudo_cmd="" my_sudo_cmde="" - echo " > ${my_sudo_cmde}launchctl unload -w $my_app_launchd_service >/dev/null 2>/dev/null" - $my_sudo_cmd launchctl unload -w "$my_app_launchd_service" >/dev/null 2>/dev/null + if [ -n "${TELEBIT_DEBUG}" ]; then + echo " > launchctl unload -w $my_app_launchd_service >/dev/null 2>/dev/null" + launchctl unload -w "$my_app_launchd_service" >/dev/null 2>/dev/null + fi else my_app_launchd_service_skel="usr/share/dist/Library/LaunchDaemons/${my_app_pkg_name}.plist" my_app_launchd_service="$my_root/Library/LaunchDaemons/${my_app_pkg_name}.plist"