Blame SOURCES/0002-install-redis-check-rdb-as-a-symlink-instead-of-dupl.patch
|
|
e5c076 |
From 79ed52edf84676786e5817cddb8914c5925144c7 Mon Sep 17 00:00:00 2001
|
|
|
e5c076 |
From: Remi Collet <fedora@famillecollet.com>
|
|
|
e5c076 |
Date: Fri, 9 Sep 2016 17:23:27 +0200
|
|
|
e5c076 |
Subject: [PATCH 2/3] install redis-check-rdb as a symlink instead of
|
|
|
e5c076 |
duplicating the binary
|
|
|
e5c076 |
|
|
|
e5c076 |
---
|
|
|
e5c076 |
src/Makefile | 4 ++--
|
|
|
e5c076 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
e5c076 |
|
|
|
e5c076 |
diff --git a/src/Makefile b/src/Makefile
|
|
|
e5c076 |
index 2a68649..585c95b 100644
|
|
|
e5c076 |
--- a/src/Makefile
|
|
|
e5c076 |
+++ b/src/Makefile
|
|
|
e5c076 |
@@ -307,9 +307,9 @@ install: all
|
|
|
e5c076 |
$(REDIS_INSTALL) $(REDIS_SERVER_NAME) $(INSTALL_BIN)
|
|
|
e5c076 |
$(REDIS_INSTALL) $(REDIS_BENCHMARK_NAME) $(INSTALL_BIN)
|
|
|
e5c076 |
$(REDIS_INSTALL) $(REDIS_CLI_NAME) $(INSTALL_BIN)
|
|
|
e5c076 |
- $(REDIS_INSTALL) $(REDIS_CHECK_RDB_NAME) $(INSTALL_BIN)
|
|
|
e5c076 |
- $(REDIS_INSTALL) $(REDIS_CHECK_AOF_NAME) $(INSTALL_BIN)
|
|
|
e5c076 |
@ln -sf $(REDIS_SERVER_NAME) $(INSTALL_BIN)/$(REDIS_SENTINEL_NAME)
|
|
|
e5c076 |
+ @ln -sf $(REDIS_SERVER_NAME) $(INSTALL_BIN)/$(REDIS_CHECK_RDB_NAME)
|
|
|
e5c076 |
+ @ln -sf $(REDIS_SERVER_NAME) $(INSTALL_BIN)/$(REDIS_CHECK_AOF_NAME)
|
|
|
e5c076 |
|
|
|
e5c076 |
uninstall:
|
|
|
e5c076 |
rm -f $(INSTALL_BIN)/{$(REDIS_SERVER_NAME),$(REDIS_BENCHMARK_NAME),$(REDIS_CLI_NAME),$(REDIS_CHECK_RDB_NAME),$(REDIS_CHECK_AOF_NAME),$(REDIS_SENTINEL_NAME)}
|
|
|
e5c076 |
--
|
|
|
e5c076 |
2.24.1
|
|
|
e5c076 |
|