From: Johannes Kastl Date: Sat, 29 Nov 2014 20:43:26 +0000 (+0100) Subject: lxc-opensuse: Disabling builds on openSUSE Tumbleweed, detection improved. X-Git-Tag: lxc-1.1.0.alpha3~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de548c6055a6246804a8217e901c9272dbf699d4;p=thirdparty%2Flxc.git lxc-opensuse: Disabling builds on openSUSE Tumbleweed, detection improved. Signed-off-by: Johannes Kastl Acked-by: Stéphane Graber --- diff --git a/templates/lxc-opensuse.in b/templates/lxc-opensuse.in index 6ef0f9bd7..e9c96e69a 100644 --- a/templates/lxc-opensuse.in +++ b/templates/lxc-opensuse.in @@ -426,7 +426,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