aboutsummaryrefslogtreecommitdiff
path: root/irc/inspircd
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2017-12-19 02:29:04 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2017-12-19 02:29:04 +0000
commit5e7519312acb3776f4eb1e447098e31329048bcd (patch)
tree529d69e4e8a238eb14fc087b541b4d48ffeac5a0 /irc/inspircd
parent71ea9482d305e1176ef50865b63911b31da3153f (diff)
downloadports-5e7519312acb3776f4eb1e447098e31329048bcd.tar.gz
ports-5e7519312acb3776f4eb1e447098e31329048bcd.zip
irc/inspircd: Modernize port (adding files/pkg-deinstall.in)
Addition to r456675: the new file files/pkg-deinstall.in has been approved, but hasn't been added in r456675. PR: 224041 Submitted by: Dmitri Goutnik <dg@syrec.org> (maintainer) Approved by: adamw (mentor) Differential Revision: https://reviews.freebsd.org/D13345
Notes
Notes: svn path=/head/; revision=456702
Diffstat (limited to 'irc/inspircd')
-rw-r--r--irc/inspircd/files/pkg-deinstall.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/irc/inspircd/files/pkg-deinstall.in b/irc/inspircd/files/pkg-deinstall.in
new file mode 100644
index 000000000000..8646e9ca08a4
--- /dev/null
+++ b/irc/inspircd/files/pkg-deinstall.in
@@ -0,0 +1,22 @@
+#!/bin/sh
+# $FreeBSD$
+
+case $2 in
+POST-DEINSTALL)
+ cat <<EOMSG
+
+To completely remove %%PORTNAME%%, you may wish to
+remove its configuration, database and log directories:
+
+ # rm -rf %%ETCDIR%% \\
+ %%INSPIRCD_DBDIR%% \\
+ %%INSPIRCD_LOGDIR%% \\
+ %%INSPIRCD_RUNDIR%%
+
+To remove the %%INSPIRCD_USER%% user and the %%INSPIRCD_GROUP%% group, run:
+
+ # pw groupdel %%INSPIRCD_GROUP%%
+ # pw userdel %%INSPIRCD_USER%%
+
+EOMSG
+esac