mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +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+)
16 lines
476 B
Bash
16 lines
476 B
Bash
#!/bin/sh
|
|
#
|
|
# Copy sample cassandra config files to real ones if real ones does not exists
|
|
#
|
|
if [ "$2" = "POST-INSTALL" ]; then
|
|
if [ ! -d $PKG_PREFIX/share/cassandra/conf ]; then exit 1; fi
|
|
umask 027
|
|
cd $PKG_PREFIX/share/cassandra/conf
|
|
for cfgfile in cassandra.yaml log4j-server.properties log4j-tools.properties \
|
|
cassandra-topology.properties; do
|
|
if [ ! -f $cfgfile ]; then
|
|
cp -p $cfgfile.sample $cfgfile
|
|
fi
|
|
done
|
|
fi
|