From 3ae4a3ce649c479212c5e2b8cda5777957ea14f9 Mon Sep 17 00:00:00 2001 From: Johannes Kastl Date: Sat, 29 Nov 2014 21:43:26 +0100 Subject: [PATCH] lxc-opensuse: Disabling builds on openSUSE Tumbleweed, detection improved. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Kastl Acked-by: Stéphane Graber --- templates/lxc-opensuse.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/lxc-opensuse.in b/templates/lxc-opensuse.in index 972ffa88d..91ef72600 100644 --- a/templates/lxc-opensuse.in +++ b/templates/lxc-opensuse.in @@ -394,7 +394,7 @@ if [ -z "$path" ]; then exit 1 fi -if [ $(grep Harlequin /etc/os-release >/dev/null; echo $?) = 0 ]; then +if grep -q Harlequin /etc/os-release || grep -q Tumbleweed /etc/os-release ; then echo "Building containers on openSUSE 13.2 or Tumbleweed is broken at the moment. We are working on this problem." exit 1 fi -- 2.47.2