From 0d2b70798f26d6cdec24704a7465587bfb2d4b60 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Tue, 17 Mar 2020 17:57:40 +0200 Subject: [PATCH] reloc/build_reloc.sh: Remove unused functions The is_redhat_variant() and is_debian_variant() funtions are not used so let's remove them. Message-Id: <20200317155740.12916-1-penberg@scylladb.com> --- reloc/build_reloc.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/reloc/build_reloc.sh b/reloc/build_reloc.sh index f1b722436d..9496ab45b6 100755 --- a/reloc/build_reloc.sh +++ b/reloc/build_reloc.sh @@ -61,14 +61,6 @@ done FLAGS="$COMMON_FLAGS $FLAGS" -is_redhat_variant() { - [ -f /etc/redhat-release ] -} -is_debian_variant() { - [ -f /etc/debian_version ] -} - - if [ ! -e reloc/build_reloc.sh ]; then echo "run build_reloc.sh in top of scylla dir" exit 1