git: ed73386849ab - main - net-im/ejabberd: remove useless deinstall script
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Jul 2022 12:58:27 UTC
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=ed73386849ab0db348dbc52847497c7cca400e16 commit ed73386849ab0db348dbc52847497c7cca400e16 Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2022-07-27 12:36:04 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2022-07-27 12:36:04 +0000 net-im/ejabberd: remove useless deinstall script pkg-message can do the same more accurately, no need to run a shell script to tell the deinstall message to the users --- net-im/ejabberd/Makefile | 1 + net-im/ejabberd/files/pkg-message.in | 6 ++++++ net-im/ejabberd/pkg-deinstall | 13 ------------- 3 files changed, 7 insertions(+), 13 deletions(-) diff --git a/net-im/ejabberd/Makefile b/net-im/ejabberd/Makefile index 4b9ec2c6bb00..921673e2c8ba 100644 --- a/net-im/ejabberd/Makefile +++ b/net-im/ejabberd/Makefile @@ -1,5 +1,6 @@ PORTNAME= ejabberd PORTVERSION= 22.05 +PORTREVISION= 1 CATEGORIES= net-im # See https://github.com/processone/ejabberd/issues/3819 diff --git a/net-im/ejabberd/files/pkg-message.in b/net-im/ejabberd/files/pkg-message.in index f05dcf19b9b0..63af32bf1c6c 100644 --- a/net-im/ejabberd/files/pkg-message.in +++ b/net-im/ejabberd/files/pkg-message.in @@ -23,5 +23,11 @@ Please refer to the release notes[0] for required DB schema updates. [0] https://www.process-one.net/blog/ejabberd-22-05/ EOM +}, +{ type: remove + message: <<EOM +If you wish to delete ejabberd data and log files, remove +"/var/spool/ejabberd" and "/var/log/ejabberd" directories. +EOM } ] diff --git a/net-im/ejabberd/pkg-deinstall b/net-im/ejabberd/pkg-deinstall deleted file mode 100644 index d4a67b304993..000000000000 --- a/net-im/ejabberd/pkg-deinstall +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [ x"$2" != x"POST-DEINSTALL" ]; then - exit 0 -fi - -cat <<EOF -If you wish to delete ejabberd data and log files, remove -"/var/spool/ejabberd" and "/var/log/ejabberd" directories. - -EOF - -exit 0