From c82f23ccaf077dce350292c7f3b2948d61122bbe Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Tue, 20 Jun 2017 03:18:54 -0700 Subject: [pkg] improve Packages script - use relative paths - there's still an absolute path (hardcoded, the REFERENCE FOLDER PATH). This should be changed (sed!) if we want to automate this for CI or for building in different environments: STILL NEEDS SOME MANUAL WORK. - Avoid deleting the build folders by default - Move the plist file to a subfolder --- pkg/osx/installer/post-inst.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'pkg/osx/installer/post-inst.sh') diff --git a/pkg/osx/installer/post-inst.sh b/pkg/osx/installer/post-inst.sh index f88ea97a..0202323a 100755 --- a/pkg/osx/installer/post-inst.sh +++ b/pkg/osx/installer/post-inst.sh @@ -1,7 +1,4 @@ #!/bin/sh # Bitmask Post-Instalation script - cp se.leap.bitmask-helper.plist /Library/LaunchDaemons/ -launchctl load /Library/LaunchDaemons/se.leap.bitmask-helper.plist -cp tuntap_20150118.pkg /tmp/ -open /tmp/tuntap_20150118.pkg +launchctl load /Library/LaunchDaemons/se.leap.bitmask-helper.plist || echo "Already loaded, skipping..." -- cgit v1.2.3