svn commit: r456702 - head/irc/inspircd/files
Yuri Victorovich
yuri at FreeBSD.org
Tue Dec 19 02:29:06 UTC 2017
Author: yuri
Date: Tue Dec 19 02:29:04 2017
New Revision: 456702
URL: https://svnweb.freebsd.org/changeset/ports/456702
Log:
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 at syrec.org> (maintainer)
Approved by: adamw (mentor)
Differential Revision: https://reviews.freebsd.org/D13345
Added:
head/irc/inspircd/files/pkg-deinstall.in (contents, props changed)
Added: head/irc/inspircd/files/pkg-deinstall.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/irc/inspircd/files/pkg-deinstall.in Tue Dec 19 02:29:04 2017 (r456702)
@@ -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
More information about the svn-ports-head
mailing list