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.
6 lines
183 B
Bash
Executable File
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 |