From 2d084f85e4b81a2c9052d0ba0ea3e9c7566436a6 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Thu, 20 Oct 2011 12:41:18 -0500
Subject: linhes-config: mv_ir fix path for detecting home dir remotes.

---
 abs/core/LinHES-config/PKGBUILD | 4 ++--
 abs/core/LinHES-config/mv_ir.py | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index b79a01e..21cb23d 100644
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-config
 pkgver=2.3
-pkgrel=30
+pkgrel=31
 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'
@@ -125,7 +125,7 @@ md5sums=('6259677916192a92d1adf47b276f7829'
          '5f3259afe031fda189edae41dd1458f0'
          '41b03fb1e0a9d9ae7588e3b813212772'
          'b845de3e05c1734cce4b9ac5e8f1baaf'
-         'e4ba9376d04cfad6c6877190df840d41'
+         '4d0464a1bef1819f6f9c100609eb55ad'
          '5e69839659d65ddda35b8a9982dc29e9'
          '62b4ce94277c32f525db5c1480670acd'
          'ec6a9961e4d1b53ec1240c5979efff11'
diff --git a/abs/core/LinHES-config/mv_ir.py b/abs/core/LinHES-config/mv_ir.py
index 5316bbc..a23b72c 100755
--- a/abs/core/LinHES-config/mv_ir.py
+++ b/abs/core/LinHES-config/mv_ir.py
@@ -94,7 +94,8 @@ def setup_ir_remote(Remotetype,templates,mythhome):
         mv_common.runcmd(cmd)
 
 
-        if os.path.isdir(mythhome+"remotes"+Remotetype):
+        if os.path.isdir(mythhome+"/remotes/"+Remotetype):
+            logging.debug("   Found remote in home dir " )
             #search home dir
             files = mythhome + "/remotes/" + Remotetype + "/lircd*"
             logging.debug("    Using %s",files)
-- 
cgit v0.12

