]> 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>
Tue, 2 Dec 2014 17:00:48 +0000 (12:00 -0500)
Signed-off-by: Johannes Kastl <git@ojkastl.de>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-opensuse.in

index 972ffa88d23be5dfba86197bf59b474d06a827dc..91ef726001b4cede822db2de4182c720e1bae4b9 100644 (file)
@@ -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