summaryrefslogtreecommitdiff
path: root/pkg/osx/scripts/postinstall
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/postinstall
parent9c74ffb925325de98e8dd73acdf1602dd40bfcc0 (diff)
[pkg] automate flat package
Diffstat (limited to 'pkg/osx/scripts/postinstall')
-rwxr-xr-xpkg/osx/scripts/postinstall6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/osx/scripts/postinstall b/pkg/osx/scripts/postinstall
new file mode 100755
index 0000000..9c2176b
--- /dev/null
+++ b/pkg/osx/scripts/postinstall
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Bitmask Post-Instalation script
+cp se.leap.bitmask-helper.plist /Library/LaunchDaemons/
+launchctl load /Library/LaunchDaemons/se.leap.bitmask-helper.plist || echo "Already loaded, skipping..."
+echo `date` "::Bitmask post-installation script succeeded." >> /tmp/bitmask-install.log
+exit 0