Files
duplicati/Installer/OSX/daemon-scripts/preinstall
T
Kenneth Skovhede e5fdf142de Fixed the OSX launch system to also support Homebrew mono.
Fixed the build system to build a dmg from a zip file.
Added pkg installer that checks for a running instance and optionally installs a LaunchAgent to start Duplicati on login.
2016-04-20 21:23:07 +02:00

6 lines
183 B
Bash
Executable File

#!/bin/bash
set -e
if /bin/launchctl list "com.duplicati.app.launchagent" &> /dev/null; then
/bin/launchctl unload "/Library/LaunchDaemons/com.duplicati.app.launchagent.plist"
fi