summaryrefslogtreecommitdiff
path: root/pkg/osx
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/osx')
-rwxr-xr-xpkg/osx/post-inst.sh1
-rwxr-xr-xpkg/osx/pre-inst.sh3
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/osx/post-inst.sh b/pkg/osx/post-inst.sh
index 03dc4d2f..f88ea97a 100755
--- a/pkg/osx/post-inst.sh
+++ b/pkg/osx/post-inst.sh
@@ -1,5 +1,4 @@
#!/bin/sh
-
# Bitmask Post-Instalation script
cp se.leap.bitmask-helper.plist /Library/LaunchDaemons/
diff --git a/pkg/osx/pre-inst.sh b/pkg/osx/pre-inst.sh
index b6d17f20..1651a221 100755
--- a/pkg/osx/pre-inst.sh
+++ b/pkg/osx/pre-inst.sh
@@ -1,2 +1,3 @@
#!/bin/sh
-launchctl unload /Library/LaunchDaemons/se.leap.bitmask-helper.plist
+# Bitmask Post-Instalation script
+[[ -f /Library/LaunchDaemons/se.leap.bitmask-helper.plist ]] && launchctl unload /Library/LaunchDaemons/se.leap.bitmask-helper.plist