blob: 9f449a8dfa86a25f18d63e52268625ef0bad84e2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/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 \
log4j-server.properties log4j-tools.properties \
cassandra-topology.properties cassandra-rackdc.properties;do
if cmp -s $cfgfile.sample $cfgfile; then
rm $cfgfile
fi
done
fi
|