From 94ab8d85b59ff8bd8919930b9d912d1bf55eb9ed Mon Sep 17 00:00:00 2001 From: Nitin A Kamble Date: Mon, 31 Oct 2016 11:46:13 -0700 Subject: [PATCH] install-deps.sh: allow building on SLES systems Avoids this error on SLES systems: > ./install-deps.sh sles is unknown, dependencies will have to be installed manually. Signed-off-by: Nitin A Kamble (cherry picked from commit 266f4d4f20a1756e825ee54d79fe5f8d931d4b77) Conflict in install-deps.sh due to indentation. Trivial resolution. --- install-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-deps.sh b/install-deps.sh index abb2beba01600..e583a2d3a29c9 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -75,7 +75,7 @@ centos|fedora|rhel) $SUDO yum-builddep -y $DIR/ceph.spec 2>&1 | tee $DIR/yum-builddep.out ! grep -q -i error: $DIR/yum-builddep.out || exit 1 ;; -opensuse|suse) + opensuse|suse|sles) echo "Using zypper to install dependencies" $SUDO zypper --gpg-auto-import-keys --non-interactive install lsb-release systemd-rpm-macros sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec -- 2.39.5