aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Fechner <mfechner@FreeBSD.org>2021-07-17 08:06:00 +0000
committerMatthias Fechner <mfechner@FreeBSD.org>2021-07-17 08:08:24 +0000
commit794d9d09ddb62f65ffdc66df5eb4ec5944924604 (patch)
tree6fffd4ffa940414f05caeec44cafec25426bea95
parent9df8303e5189c10666a502c61a6e78d3ad9a9aa4 (diff)
downloadports-794d9d09ddb62f65ffdc66df5eb4ec5944924604.tar.gz
ports-794d9d09ddb62f65ffdc66df5eb4ec5944924604.zip
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
-rw-r--r--www/bacula-web/Makefile2
-rw-r--r--www/bacula-web/files/pkg-message.in7
2 files changed, 8 insertions, 1 deletions
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
+}
]