From fa342e88317ed5d6b8db0de7f114392ff4175a31 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sat, 10 Mar 2012 17:12:53 -0600 Subject: LinHES-config: mv_ir.py: change how remote.run is handled. refs #821 --- abs/core/LinHES-config/PKGBUILD | 4 ++-- abs/core/LinHES-config/mv_ir.py | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD index 0c51ef0..f796971 100644 --- a/abs/core/LinHES-config/PKGBUILD +++ b/abs/core/LinHES-config/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-config pkgver=2.3 -pkgrel=62 +pkgrel=63 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=('64fad755c12f8eb12940e216e403354e' '5f3259afe031fda189edae41dd1458f0' 'dc150c1e2c915a55a616d1af5bb1f6de' 'b845de3e05c1734cce4b9ac5e8f1baaf' - 'e7b94023461c52a692bfa67c647deedd' + '03d866e4dc287d13734e35f4ebe15edb' '5e69839659d65ddda35b8a9982dc29e9' '62b4ce94277c32f525db5c1480670acd' 'ec6a9961e4d1b53ec1240c5979efff11' diff --git a/abs/core/LinHES-config/mv_ir.py b/abs/core/LinHES-config/mv_ir.py index a4c3bed..df6feb5 100755 --- a/abs/core/LinHES-config/mv_ir.py +++ b/abs/core/LinHES-config/mv_ir.py @@ -122,7 +122,8 @@ def setup_ir_remote(Remotetype,templates,mythhome,HostBlasterType): if os.path.isdir (filename): logging.debug(" %s is a dir, skipping",filename) continue - include_file("/etc/remote.run",filename) + cmd = "cp %s /etc/remote.run" %filename + mv_common.runcmd(cmd) else: #template dir files = templates + "/remotes/" + Remotetype + "/lircd*" @@ -148,7 +149,8 @@ def setup_ir_remote(Remotetype,templates,mythhome,HostBlasterType): if os.path.isdir (filename): logging.debug(" %s is a dir, skipping",filename) continue - include_file("/etc/remote.run",filename) + cmd = "cp %s /etc/remote.run" %filename + mv_common.runcmd(cmd) cmd = "chmod 755 /etc/lircrc /etc/remote.run" -- cgit v0.12