From 8589a66fcad45a18cd329861afefb4f02ebceba5 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 7 Oct 2018 23:05:32 -0600 Subject: [PATCH] bugfix: always launchctl unload, not just on DEBUG --- usr/share/install_helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/share/install_helper.sh b/usr/share/install_helper.sh index 3e59706..e92f8ed 100644 --- a/usr/share/install_helper.sh +++ b/usr/share/install_helper.sh @@ -429,8 +429,8 @@ if [ -d "/Library/LaunchDaemons" ]; then 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 + launchctl unload -w "$my_app_launchd_service" >/dev/null 2>/dev/null 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"