diff options
author | Britney Fransen <brfransen@gmail.com> | 2012-03-10 23:12:53 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2012-03-10 23:12:53 (GMT) |
commit | fa342e88317ed5d6b8db0de7f114392ff4175a31 (patch) | |
tree | bc029fa65b4c40a141924b2558c4a0a84d629431 /abs/core/LinHES-config/mv_ir.py | |
parent | a923391ea01326947663693e8a1099fc8de5a3f3 (diff) | |
download | linhes_pkgbuild-fa342e88317ed5d6b8db0de7f114392ff4175a31.zip linhes_pkgbuild-fa342e88317ed5d6b8db0de7f114392ff4175a31.tar.gz linhes_pkgbuild-fa342e88317ed5d6b8db0de7f114392ff4175a31.tar.bz2 |
LinHES-config: mv_ir.py: change how remote.run is handled. refs #821
Diffstat (limited to 'abs/core/LinHES-config/mv_ir.py')
-rwxr-xr-x | abs/core/LinHES-config/mv_ir.py | 6 |
1 files changed, 4 insertions, 2 deletions
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" |