summaryrefslogtreecommitdiff
path: root/pkg/osx/scripts/preinstall
diff options
context:
space:
mode:
authorkali <kali@leap.se>2017-08-03 21:01:34 -0700
committerKali Kaneko <kali@leap.se>2017-08-14 18:09:15 -0400
commit201a751f0a0da9fa0427d683cb56725a40a00d89 (patch)
tree3c148c489cceb71ccbb9c0a8d37a331506001b67 /pkg/osx/scripts/preinstall
parent9c74ffb925325de98e8dd73acdf1602dd40bfcc0 (diff)
[pkg] automate flat package
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