Date: Sat, 17 Jul 2021 08:08:28 GMT From: Matthias Fechner <mfechner@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 794d9d09ddb6 - main - www/bacula-web: Show a message on deinstall to remove files Message-ID: <202107170808.16H88SLk025439@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mfechner: URL: https://cgit.FreeBSD.org/ports/commit/?id=794d9d09ddb62f65ffdc66df5eb4ec5944924604 commit 794d9d09ddb62f65ffdc66df5eb4ec5944924604 Author: Matthias Fechner <mfechner@FreeBSD.org> AuthorDate: 2021-07-17 08:06:00 +0000 Commit: Matthias Fechner <mfechner@FreeBSD.org> CommitDate: 2021-07-17 08:08:24 +0000 www/bacula-web: Show a message on deinstall to remove files The application is generating some files on usage which are maybe not required anymore if you deinstalled the application. Suggest on deinstall a command the user can execute to remove all files. PR: 196016 --- www/bacula-web/Makefile | 2 +- www/bacula-web/files/pkg-message.in | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/www/bacula-web/Makefile b/www/bacula-web/Makefile index f1fe22020865..62b4ad954d73 100644 --- a/www/bacula-web/Makefile +++ b/www/bacula-web/Makefile @@ -3,7 +3,7 @@ PORTNAME= bacula-web DISTVERSIONPREFIX= v DISTVERSION= 8.4.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www sysutils PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} diff --git a/www/bacula-web/files/pkg-message.in b/www/bacula-web/files/pkg-message.in index 02bdcc7292ec..79d51091ded5 100644 --- a/www/bacula-web/files/pkg-message.in +++ b/www/bacula-web/files/pkg-message.in @@ -31,4 +31,11 @@ Make sure to update dependencies with: cd %%WWWDIR%%; composer i EOM } +{ + type: remove + message: <<EOM +You would like to delete: + rm -R %%WWWDIR%% +EOM +} ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107170808.16H88SLk025439>