From f4d65150d0e717422f6a4827d92b0d8c9a6e9f4a Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Tue, 3 Feb 2015 16:26:17 +0100 Subject: [PATCH] install-deps.sh: get lsb_release if needed Fedora does not have lsb_release installed by default. http://tracker.ceph.com/issues/10729 Fixes: #10729 Signed-off-by: Loic Dachary --- install-deps.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install-deps.sh b/install-deps.sh index b001a3327baf4..11d3626ea6c28 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -18,6 +18,11 @@ if test $(id -u) != 0 ; then SUDO=sudo fi export LC_ALL=C # the following is vulnerable to i18n + +if test -f /etc/redhat-release ; then + $SUDO yum install -y redhat-lsb-core +fi + case $(lsb_release -si) in Ubuntu|Debian|Devuan) $SUDO apt-get install -y dpkg-dev -- 2.39.5