1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/net/hornetq/pkg-deinstall
Martin Wilke ed9c37dec7 HornetQ is an open source project to build a multi-protocol, embeddable,
very high performance, clustered, asynchronous messaging system, designed
with usability in mind.

HornetQ is an example of Message Oriented Middleware (MoM)

WWW:	http://www.jboss.org/hornetq

PR:		ports/167952
Submitted by:	Radim Kolar
2012-05-25 15:24:26 +00:00

18 lines
550 B
Bash

#!/bin/sh
#
# Removes unchanged configuration files
#
if [ "$2" = "DEINSTALL" ]; then
if [ ! -d $PKG_PREFIX/share/hornetq/config/stand-alone ]; then exit 1; fi
cd $PKG_PREFIX/share/hornetq/config/stand-alone
for cfgdir in clustered non-clustered; do
for cfgfile in hornetq-beans.xml hornetq-users.xml \
hornetq-configuration.xml jndi.properties \
hornetq-jms.xml logging.properties; do
if cmp -s $cfgdir/$cfgfile.sample $cfgdir/$cfgfile; then
rm $cfgdir/$cfgfile
fi
done
done
fi