diff options
author | yuri <yuri@FreeBSD.org> | 2017-12-19 10:29:04 +0800 |
---|---|---|
committer | yuri <yuri@FreeBSD.org> | 2017-12-19 10:29:04 +0800 |
commit | 9778a0cd9e0a41f1ecd25d53371b06029699345c (patch) | |
tree | 529d69e4e8a238eb14fc087b541b4d48ffeac5a0 /irc | |
parent | 1fa8e8b1321e540ab988d10c3cc13568739b2cc5 (diff) | |
download | freebsd-ports-gnome-9778a0cd9e0a41f1ecd25d53371b06029699345c.tar.gz freebsd-ports-gnome-9778a0cd9e0a41f1ecd25d53371b06029699345c.tar.zst freebsd-ports-gnome-9778a0cd9e0a41f1ecd25d53371b06029699345c.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
Diffstat (limited to 'irc')
-rw-r--r-- | irc/inspircd/files/pkg-deinstall.in | 22 |
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 |