diff options
-rw-r--r-- | system/redis/redis.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/system/redis/redis.SlackBuild b/system/redis/redis.SlackBuild index 75dd21265eb1..6c152b34c9c2 100644 --- a/system/redis/redis.SlackBuild +++ b/system/redis/redis.SlackBuild @@ -43,12 +43,8 @@ CFLAGS="$SLKCFLAGS" make mkdir -p $PKG/usr/bin install -m 0755 redis-server redis-cli redis-benchmark $PKG/usr/bin -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Use sample config, without overwriting install -D -m 644 redis.conf $PKG/etc/redis.conf.new |