summaryrefslogtreecommitdiff
path: root/osx
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2018-09-19 03:11:37 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2018-09-19 03:12:06 +0200
commite27fc141daa1978fd8527f10fda556ecf1e4d590 (patch)
tree94eb8b18d82811b590298f536adbd9c3bc25cf98 /osx
parentb78b43a051efa2ca36d2676b338ca47bf2b489cc (diff)
[bug] fix unloading of helper in osx
- Resolves: riseup_vpn#18
Diffstat (limited to 'osx')
-rwxr-xr-xosx/scripts/preinstall4
-rwxr-xr-xosx/template-preinstall2
2 files changed, 3 insertions, 3 deletions
diff --git a/osx/scripts/preinstall b/osx/scripts/preinstall
index 47a0812..fc18c17 100755
--- a/osx/scripts/preinstall
+++ b/osx/scripts/preinstall
@@ -5,8 +5,8 @@
LOG=/tmp/bitmask-install.log
-ps aux | grep [b]itmask-helper \
+ps aux | grep [b]itmask_helper \
&& launchctl unload /Library/LaunchDaemons/se.leap.bitmask-helper.plist \
&& echo `date` ":: RiseupVPN pre-install: unloaded bitmask-helper." >> $LOG
-echo `date` ":: RiseupVPN pre-install: ok." >> $LOG
+echo `date` ":: RiseupVPN pre-install: done." >> $LOG
exit 0
diff --git a/osx/template-preinstall b/osx/template-preinstall
index fa2f2b0..087b7f5 100755
--- a/osx/template-preinstall
+++ b/osx/template-preinstall
@@ -5,7 +5,7 @@
LOG=/tmp/bitmask-install.log
-ps aux | grep [b]itmask-helper \
+ps aux | grep [b]itmask_helper \
&& launchctl unload /Library/LaunchDaemons/se.leap.bitmask-helper.plist \
&& echo `date` ":: $app_name pre-install: unloaded bitmask-helper." >> $LOG
echo `date` ":: $app_name pre-install: ok." >> $LOG