From d3e142049125780fd91610651b9df5510b3a834b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Mon, 17 Sep 2018 13:08:14 +0000 Subject: [PATCH] support opensuse tumbleweed --- build-in-docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-in-docker.sh b/build-in-docker.sh index b544b47..f7355ab 100755 --- a/build-in-docker.sh +++ b/build-in-docker.sh @@ -307,7 +307,7 @@ gpgcheck=0 EOF fi INSTALL_TOOL=$((docker exec ${DOCKER_ID} test -x /usr/bin/zypper && echo zypper install -y) || (docker exec ${DOCKER_ID} test -x /usr/bin/dnf && echo dnf install -y) || (docker exec ${DOCKER_ID} test -x /usr/bin/yum && echo yum install -y) || (docker exec ${DOCKER_ID} test -x /usr/sbin/urpmi && echo urpmi --auto)) - if test "$INSTALL_TOOL" = "urpmi --auto"; then + if test "$INSTALL_TOOL" = "urpmi --auto" -o "$INSTALL_TOOL" = "zypper install -y"; then LSB_RELEASE=lsb-release else LSB_RELEASE=/usr/bin/lsb_release