From c7564c42181a089ab43bff917007d31f5c4eaaa9 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Mon, 4 Feb 2013 13:48:56 -0600
Subject: LinHES-system: correct the logic for breaking out of the wmctrl loop.
   As written it would break out of the inner loop..but not the 60 iteration
 loop.

---
 abs/core/LinHES-config/PKGBUILD       |  4 ++--
 abs/core/LinHES-system/LinHES-session | 14 +++++++-------
 abs/core/LinHES-system/PKGBUILD       |  4 ++--
 3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index cf8ad7f..e1d00c8 100755
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-config
 pkgver=2.3
-pkgrel=220
+pkgrel=221
 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config )
 pkgdesc="Install and configure your system"
 depends=('bc' 'libstatgrab'  'mysql-python' 'expect' 'curl' 'dnsutils' 'parted'
@@ -159,7 +159,7 @@ md5sums=('32fc2b52809231d75a72492b91eeed74'
          'c0549457750c4f8e8038d904a0f3012a'
          '3d1e3c7315881a109fb089a540d2262c'
          'b845de3e05c1734cce4b9ac5e8f1baaf'
-         '9d0f4f216fa9d4650f759db14c3270db'
+         '33941466545815c58e8e49190cf04eaa'
          '8b7dce4a3a0a281fa6656aa8781a648e'
          'f7f2dc11d1ba454cd25eeaa133104b62'
          '824e49d9b01fed295c704ab68908b464'
diff --git a/abs/core/LinHES-system/LinHES-session b/abs/core/LinHES-system/LinHES-session
index 01768bd..61405db 100755
--- a/abs/core/LinHES-system/LinHES-session
+++ b/abs/core/LinHES-system/LinHES-session
@@ -374,17 +374,17 @@ function run_wmctrl(){
         for name in "MythTV Frontend" "MythTV Setup" "mythwelcome"
         do
             xwininfo -name "$name" >/dev/null
-            rc=$?
-            if [ $rc = 0 ]
+            rcx=$?
+            if [ $rcx = 0 ]
             then
                 wmctrl -r "$name" -b remove,fullscreen
                 done="True"
             fi
-            if [ $done = "True" ]
-            then
-               break
-            fi
-         done
+        done
+        if [ $done = "True" ]
+        then
+            break
+        fi
         sleep 5
     done
 
diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD
index 2365063..ae165e1 100755
--- a/abs/core/LinHES-system/PKGBUILD
+++ b/abs/core/LinHES-system/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-system
 pkgver=2
-pkgrel=145
+pkgrel=146
 arch=('i686' 'x86_64')
 MVDIR=$startdir/pkg/usr/LH
 BINDIR=$startdir/pkg/usr/bin
@@ -81,7 +81,7 @@ build() {
 
 
 }
-md5sums=('d1f60851cb319921f3b7ad044d6f6332'
+md5sums=('08abf577578dd805bab7cd9eba90965a'
          'de32a1c50101265dd7f6ca5037f7a26a'
          'a875ee97f86e46f34a741c2bc455f894'
          '76b2637cac0452b3acdbeeb4e8a5474b'
-- 
cgit v0.12

