This is an automated email from the ASF dual-hosted git repository.
mshuler pushed a commit to branch cassandra-3.0
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/cassandra-3.0 by this push:
new a81bfd6 Use `rm -f` in rpm spec to prevent failure on missing file
a81bfd6 is described below
commit a81bfd6b7db3a373430b3c4e8f4e930b199796f0
Author: Michael Shuler <[email protected]>
AuthorDate: Thu Oct 24 11:21:09 2019 -0500
Use `rm -f` in rpm spec to prevent failure on missing file
---
redhat/cassandra.spec | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/redhat/cassandra.spec b/redhat/cassandra.spec
index 38ed20f..2a83b60 100644
--- a/redhat/cassandra.spec
+++ b/redhat/cassandra.spec
@@ -74,14 +74,14 @@ patch -p1 < debian/patches/002cassandra_logdir_fix.dpatch
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/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]