mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-07 02:06:57 +00:00
c5b06623f8
- stop using kill-9 - support for cqlsh While i'm here, fix plist and some whitespace issues. PR: 163295 Submitted by: Radim Kolar <hsn at sendmail dot cz> Approved by: maintainer (timeout, 3 weeks+)
15 lines
415 B
Bash
15 lines
415 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 log4j-server.properties \
|
|
log4j-tools.properties cassandra-topology.properties; do
|
|
if cmp -s $cfgfile.sample $cfgfile; then
|
|
rm $cfgfile
|
|
fi
|
|
done
|
|
fi
|