From 3221d9e5ee5c4529770df0906c4ca9b2a2e0ff2d Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Tue, 3 Feb 2015 18:46:24 +0000
Subject: LinHES-config: mv_ir.py: change /etc/lircd.conf to symlink for lirc
 0.9.2

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

diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index 0350c0c..5ca958d 100755
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-config
 pkgver=8.3
-pkgrel=7
+pkgrel=8
 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'
@@ -162,7 +162,7 @@ md5sums=('17d9dd5a097fbbd4dae75dff8e2677ff'
          'c0549457750c4f8e8038d904a0f3012a'
          'c6110fbeaa6e68e0b80c191ced67b073'
          'b845de3e05c1734cce4b9ac5e8f1baaf'
-         '87223092f4049f10157e81e9ec7b3140'
+         '25f5dd1465890427c8297209e6e8549d'
          '8b7dce4a3a0a281fa6656aa8781a648e'
          '4b10fff21a0274f950f97f2b61e92463'
          '824e49d9b01fed295c704ab68908b464'
diff --git a/abs/core/LinHES-config/config.install b/abs/core/LinHES-config/config.install
index 9eda0db..50c66c7 100644
--- a/abs/core/LinHES-config/config.install
+++ b/abs/core/LinHES-config/config.install
@@ -40,7 +40,7 @@ post_upgrade() {
        /usr/MythVantage/bin/systemconfig.py -m hostype
     fi
 
-    /usr/MythVantage/bin/systemconfig.py -m locale,vnc
+    /usr/MythVantage/bin/systemconfig.py -m locale,vnc,ir
 
     echo "   Removing pts and shm from fstab..."
     cp -a /etc/fstab /etc/fstab.backup.pre_pts_shm
diff --git a/abs/core/LinHES-config/mv_ir.py b/abs/core/LinHES-config/mv_ir.py
index 8fdc2cf..c0ec6fa 100755
--- a/abs/core/LinHES-config/mv_ir.py
+++ b/abs/core/LinHES-config/mv_ir.py
@@ -109,16 +109,16 @@ def setup_ir_remote(Remotetype,templates,mythhome,HostBlasterType,remotebucket):
 
         files =  remote_path + "/lircd*"
         logging.debug("    Using %s",files)
-        # /etc/lircd.conf include
+        # /etc/lircd.conf symlink
         for filename in glob.glob(files):
             # Ignore subfolders
             if os.path.isdir (filename):
                 logging.debug("    %s is a dir, skipping",filename)
                 continue
-            include_file("/etc/lircd.conf",filename)
+            os.symlink(filename,"/etc/lircd.conf")
         #files = templates + "/remotes/" + Remotetype + "/lircrc*"
 
-        # inluce lircrc
+        # include lircrc
         files = remote_path + "/lircrc*"
         logging.debug("    Using %s",files)
         for filename in glob.glob(files):
-- 
cgit v0.12

