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
This commit is contained in:
Baptiste Daroussin 2022-07-27 14:36:04 +02:00
parent 7bcb44d9b4
commit ed73386849
3 changed files with 7 additions and 13 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= ejabberd
PORTVERSION= 22.05
PORTREVISION= 1
CATEGORIES= net-im
# See https://github.com/processone/ejabberd/issues/3819

View File

@ -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
}
]

View File

@ -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