aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mt-daapd/pkg-deinstall
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2006-06-25 21:17:25 +0800
committeritetcu <itetcu@FreeBSD.org>2006-06-25 21:17:25 +0800
commitf7efec5ec7a92d43d15039726e3f67dcb4fbb474 (patch)
treed017f055e97915b431eb892045905de86705f20f /audio/mt-daapd/pkg-deinstall
parent3e7c7d182809fb4da7c6a2e93ef071dd0be915bc (diff)
downloadfreebsd-ports-gnome-f7efec5ec7a92d43d15039726e3f67dcb4fbb474.tar.gz
freebsd-ports-gnome-f7efec5ec7a92d43d15039726e3f67dcb4fbb474.tar.zst
freebsd-ports-gnome-f7efec5ec7a92d43d15039726e3f67dcb4fbb474.zip
- Update to 0.2.4
- convert to USE_RC_SUBR - make sure thread libs are detected/used correctly on all OSVERSIONs - change default database directory to /var/db/mt-daapd. - change default mp3 dir to ${PREFIX}/share/mt-daap - tell users whatvariables to they can set to customize their installation - move pkg-deinstall, pkg-install and files/mt-daapd.conf in FILESDIR to be able to respect user choices. - portlint PR: ports/95190 reworked extensively by me Submitted by: Alexander Botero-Lowry <alex@foxybanana.com> (now maintianer)
Diffstat (limited to 'audio/mt-daapd/pkg-deinstall')
-rw-r--r--audio/mt-daapd/pkg-deinstall27
1 files changed, 0 insertions, 27 deletions
diff --git a/audio/mt-daapd/pkg-deinstall b/audio/mt-daapd/pkg-deinstall
deleted file mode 100644
index f7bc12de979c..000000000000
--- a/audio/mt-daapd/pkg-deinstall
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD: /tmp/pcvs/ports/audio/mt-daapd/Attic/pkg-deinstall,v 1.1 2004-08-05 23:00:09 edwin Exp $
-#
-
-PATH=/bin:/usr/bin:/usr/sbin
-
-case $2 in
-
-POST-DEINSTALL)
- echo '---> Starting post-deinstall script:'
-
- if [ -f %%PREFIX%%/etc/mt-daapd.conf ]; then
- echo '---> You seem to have made some custom daapd configuration.'
- echo '---> The "%%USER%%" user and "%%GROUP%%" group were therefore not deleted.'
- echo '---> You may delete them with "pw groupdel %%GROUP%%; pw userdel %%USER%%".'
-
- else
- echo '---> Removing group "%%GROUP%%"'
- /usr/sbin/pw groupdel -n %%GROUP%%
- echo '---> Removing user "%%USER%%"'
- echo 'y' | /usr/sbin/pw userdel -n %%USER%%
- fi
-
- ;;
-
-esac