diff options
author | Kali Kaneko <kali@leap.se> | 2016-04-13 15:46:58 -0700 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-04-18 16:18:35 -0400 |
commit | 1194fa5779cbac2e1c4f891c64bbf2d912a6cbd0 (patch) | |
tree | 06e41da8c72969f8eb9f4bb0da3202668c5b1cca /pkg/osx/pre-inst.sh | |
parent | ec04bb1ec723f3f9a97ecc6d9daa00a5a8f86609 (diff) |
[bug] check if helper.plist file exist b4 unloading it
- Fixes: #7944
- Releases: 0.9.2
Diffstat (limited to 'pkg/osx/pre-inst.sh')
-rwxr-xr-x | pkg/osx/pre-inst.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |