summaryrefslogtreecommitdiff
path: root/pkg/osx/scripts/preinstall
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/osx/scripts/preinstall')
-rwxr-xr-xpkg/osx/scripts/preinstall5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/osx/scripts/preinstall b/pkg/osx/scripts/preinstall
new file mode 100755
index 00000000..222922cf
--- /dev/null
+++ b/pkg/osx/scripts/preinstall
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Bitmask Pre-Instalation script
+[[ -f /Library/LaunchDaemons/se.leap.bitmask-helper.plist ]] && launchctl unload /Library/LaunchDaemons/se.leap.bitmask-helper.plist
+echo `date` "::Bitmask pre-installation script succeeded." >> /tmp/bitmask-install.log
+exit 0