diff options
| author | Alexander Barton <alex@barton.de> | 2024-01-08 22:16:52 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2024-01-11 15:12:48 +0100 |
| commit | 07219281ef2092a29050a3934937a2a0c8916e43 (patch) | |
| tree | 1156b065cda4f6e880c1a35943aaac16bc8c83c1 /contrib/MacOSX/preinstall.sh | |
| parent | a5de81e48934c296d56aebed686b122001ec499f (diff) | |
| download | ngircd-07219281ef2092a29050a3934937a2a0c8916e43.tar.gz ngircd-07219281ef2092a29050a3934937a2a0c8916e43.zip | |
Remove unmaintained contrib/MacOSX/ folder
This includes removing the Xcode project. The sample launchd(8) configuration properties list file was moved to "contrib/de.barton.ngircd.plist" and kept.
Diffstat (limited to 'contrib/MacOSX/preinstall.sh')
| -rwxr-xr-x | contrib/MacOSX/preinstall.sh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/contrib/MacOSX/preinstall.sh b/contrib/MacOSX/preinstall.sh deleted file mode 100755 index 0e13bacf..00000000 --- a/contrib/MacOSX/preinstall.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# ngIRCd Mac OS X preinstall/preupgrade script - -LDPLIST="/Library/LaunchDaemons/de.barton.ngircd.plist" - -rm -f /tmp/ngircd_needs_restart || exit 1 -if [ -r "$LDPLIST" ]; then - echo "LaunchDaemon script found, checking status ..." - launchctl list | fgrep "de.barton.ngIRCd" >/dev/null 2>&1 - if [ $? -eq 0 ]; then - # ngIRCd is already running; stop it and touch a - # "stamp file" so that we know that we have to - # restart it after installation/upgrade. - echo "ngIRCd is already running; stop it ..." - launchctl unload "$LDPLIST" || exit 1 - echo "Daemon has been stopped." - touch /tmp/ngircd_needs_restart || exit 1 - else - echo "ngIRCd is not running." - fi -else - echo "LaunchDaemon script not found." -fi - -# -eof- |