]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
build_utils: fix get_rpm_dist openSUSE detection
authorKyr Shatskyy <kyrylo.shatskyy@suse.com>
Mon, 12 Aug 2019 19:22:40 +0000 (21:22 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Wed, 14 Aug 2019 18:15:55 +0000 (20:15 +0200)
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
scripts/build_utils.sh

index 27acc6510e7e7d92ec61c84256f030ed08dfd2a3..76b2f3cfb3ba28ac81db8ae4cbd3050fc48c3972 100644 (file)
@@ -209,7 +209,7 @@ get_rpm_dist() {
         DISTRO_VERSION=`$LSB_RELEASE --short --release`
         DISTRO=fedora
         ;;
-    SUSE\ LINUX)
+    SUSE\ LINUX|openSUSE)
         DESC=`$LSB_RELEASE --short --description`
         DISTRO_VERSION=`$LSB_RELEASE --short --release`
         case $DESC in