mirror of https://github.com/apache/cassandra
Use `rm -f` in rpm spec to prevent failure on missing file
This commit is contained in:
parent
145f6d6dc4
commit
4cb90dbbd0
|
|
@ -74,14 +74,14 @@ patch -p1 < debian/patches/cassandra_logdir_fix.diff
|
|||
sed -i 's/^# hints_directory:/hints_directory:/' conf/cassandra.yaml
|
||||
|
||||
# remove batch, powershell, and other files not being installed
|
||||
rm conf/*.ps1
|
||||
rm bin/*.bat
|
||||
rm bin/*.orig
|
||||
rm bin/*.ps1
|
||||
rm bin/cassandra.in.sh
|
||||
rm lib/sigar-bin/*winnt* # strip segfaults on dll..
|
||||
rm tools/bin/*.bat
|
||||
rm tools/bin/cassandra.in.sh
|
||||
rm -f conf/*.ps1
|
||||
rm -f bin/*.bat
|
||||
rm -f bin/*.orig
|
||||
rm -f bin/*.ps1
|
||||
rm -f bin/cassandra.in.sh
|
||||
rm -f lib/sigar-bin/*winnt* # strip segfaults on dll..
|
||||
rm -f tools/bin/*.bat
|
||||
rm -f tools/bin/cassandra.in.sh
|
||||
|
||||
# copy default configs
|
||||
cp -pr conf/* %{buildroot}/%{_sysconfdir}/%{username}/default.conf/
|
||||
|
|
|
|||
Loading…
Reference in New Issue