]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-opensuse: Disabling builds on openSUSE Tumbleweed, detection improved.
authorJohannes Kastl <mail@ojkastl.de>
Sat, 29 Nov 2014 20:43:26 +0000 (21:43 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 1 Dec 2014 18:47:10 +0000 (13:47 -0500)
Signed-off-by: Johannes Kastl <git@ojkastl.de>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-opensuse.in

index 6ef0f9bd7faceb571d8300c68d4fd21c3279bdc3..e9c96e69ac5892447712425ce3d9f8447d78c769 100644 (file)
@@ -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