diff options
author | James Meyer <james.meyer@operamail.com> | 2008-11-14 21:44:30 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-11-14 21:44:30 (GMT) |
commit | b5c4702b6b953bd4fd42b72984e96bf298c49d4d (patch) | |
tree | 495b6728a45933e786f02fc1d188ac3dd04a9061 /abs/core-testing | |
parent | 09021a0d9941e47da837f38a0826ee4a52ac3aa0 (diff) | |
download | linhes_pkgbuild-b5c4702b6b953bd4fd42b72984e96bf298c49d4d.zip linhes_pkgbuild-b5c4702b6b953bd4fd42b72984e96bf298c49d4d.tar.gz linhes_pkgbuild-b5c4702b6b953bd4fd42b72984e96bf298c49d4d.tar.bz2 |
add symlinks lircrc to mythtv home dir
closes FS15
Diffstat (limited to 'abs/core-testing')
-rwxr-xr-x | abs/core-testing/LinHES-config/PKGBUILD | 2 | ||||
-rwxr-xr-x | abs/core-testing/LinHES-config/systemconfig.sh | 18 |
2 files changed, 19 insertions, 1 deletions
diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD index f40694a..b5023d3 100755 --- a/abs/core-testing/LinHES-config/PKGBUILD +++ b/abs/core-testing/LinHES-config/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-config pkgver=1.0 -pkgrel=14 +pkgrel=20 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev ) pkgdesc="Install and configure your system" depends=(bc libstatgrab mysql-python expect curl dnsutils parted sg3_utils nmbscan) diff --git a/abs/core-testing/LinHES-config/systemconfig.sh b/abs/core-testing/LinHES-config/systemconfig.sh index a12546a..d84c0dc 100755 --- a/abs/core-testing/LinHES-config/systemconfig.sh +++ b/abs/core-testing/LinHES-config/systemconfig.sh @@ -204,6 +204,24 @@ function setupremote { chmod 755 /etc/lircrc daemon_add="lircd $daemon_add" sv hup lircd + + if [ ! -e /home/mythtv/.mythtv/lircrc ] + then + if [ ! -d /home/mythtv/.mythtv ] + then + mkdir /home/mythtv/.mythtv + chown mythtv:mythtv /home/mythtv/.mythtv + fi + + ln -s /etc/lircrc /home/mythtv/.mythtv/lircrc 2> /dev/null + fi + if [ ! -e /home/mythtv/.lircrc ] + then + + ln -s /etc/lircrc /home/mythtv/.lircrc 2> /dev/null + fi + + ;; esac |