From 8f826342f88cd977738d6a2937031d1bdef682d4 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Sat, 29 Sep 2018 23:17:20 +0200 Subject: [pkg] remove osx pkg folder --- pkg/osx/scripts/postinstall | 12 ------------ pkg/osx/scripts/preinstall | 12 ------------ pkg/osx/scripts/se.leap.bitmask-helper.plist | 26 -------------------------- 3 files changed, 50 deletions(-) delete mode 100755 pkg/osx/scripts/postinstall delete mode 100755 pkg/osx/scripts/preinstall delete mode 100644 pkg/osx/scripts/se.leap.bitmask-helper.plist (limited to 'pkg/osx/scripts') diff --git a/pkg/osx/scripts/postinstall b/pkg/osx/scripts/postinstall deleted file mode 100755 index 393ab658..00000000 --- a/pkg/osx/scripts/postinstall +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# Bitmask Post-Instalation script -# (c) LEAP Encryption access Project -# We copy the bitmask-helper plist to the LaunchDaemons folder, and load the bitmask-helper that runs as root. - -LOG=/tmp/bitmask-install.log - -cp se.leap.bitmask-helper.plist /Library/LaunchDaemons/ \ - && echo `date` ":: Bitmask post-install: copied bitmask-helper Plist." >> $LOG -launchctl load /Library/LaunchDaemons/se.leap.bitmask-helper.plist && echo `date` ":: Bitmask post-install: loaded bitmask-helper." >> $LOG -echo `date` ":: Bitmask post-install: ok." >> $LOG -exit 0 diff --git a/pkg/osx/scripts/preinstall b/pkg/osx/scripts/preinstall deleted file mode 100755 index 1ae68f9c..00000000 --- a/pkg/osx/scripts/preinstall +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# Bitmask Pre-Instalation script -# (c) LEAP Encryption access Project -# We unload the bitmask-helper if it is running, because we can be installing an upgrade. - -LOG=/tmp/bitmask-install.log - -ps aux | grep [b]itmask-helper \ - && launchctl unload /Library/LaunchDaemons/se.leap.bitmask-helper.plist \ - && echo `date` ":: Bitmask pre-install: unloaded bitmask-helper." >> $LOG -echo `date` ":: Bitmask pre-install: ok." >> $LOG -exit 0 diff --git a/pkg/osx/scripts/se.leap.bitmask-helper.plist b/pkg/osx/scripts/se.leap.bitmask-helper.plist deleted file mode 100644 index b5990f6e..00000000 --- a/pkg/osx/scripts/se.leap.bitmask-helper.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - WorkingDirectory - /Applications/Bitmask.app/Contents/Resources/bitmask-helper/ - StandardOutPath - bitmask-helper.log - StandardErrorPath - bitmask-helper-err.log - GroupName - daemon - RunAtLoad - - SessionCreate - - KeepAlive - - ThrottleInterval - 5 - Label - se.leap.BitmaskHelper - Program - /Applications/Bitmask.app/Contents/Resources/bitmask-helper/bitmask-helper - - -- cgit v1.2.3