1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/databases/cassandra2/pkg-deinstall
Bartek Rutkowski fddcea79cc databases/cassandra2: update 2.0.10 -> 2.1.1
- Delete obsolete patch

PR:		194698
Submitted by:	Aleksey Ovcharenko <admins@perceptyx.com>
Approved by:	mentors (implicit)
2014-11-12 23:43:52 +00:00

15 lines
410 B
Bash

#!/bin/sh
#
# Removes unchanged configuration files
#
if [ "$2" = "DEINSTALL" ]; then
if [ ! -d $PKG_PREFIX/share/cassandra/conf ]; then exit 1; fi
cd $PKG_PREFIX/share/cassandra/conf
for cfgfile in cassandra.yaml commitlog_archiving.properties \
cassandra-topology.properties cassandra-rackdc.properties;do
if cmp -s $cfgfile.sample $cfgfile; then
rm $cfgfile
fi
done
fi