diff options
author | Britney Fransen <brfransen@gmail.com> | 2012-05-01 22:42:08 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2012-05-01 22:42:08 (GMT) |
commit | 2cfec4cb8a0375674eb2b3dfeca54f2eeaf3ad41 (patch) | |
tree | 97925de186c88413ff030c38234b3c77e7bf0574 /abs/core/LinHES-system/LinHES-session | |
parent | 7f8b8d8d5c5bbf215ff380e60e70a5edd72a0169 (diff) | |
download | linhes_pkgbuild-2cfec4cb8a0375674eb2b3dfeca54f2eeaf3ad41.zip linhes_pkgbuild-2cfec4cb8a0375674eb2b3dfeca54f2eeaf3ad41.tar.gz linhes_pkgbuild-2cfec4cb8a0375674eb2b3dfeca54f2eeaf3ad41.tar.bz2 |
LinHES-system: LinHES-session: check installed mythtv version and set startcmd.
Diffstat (limited to 'abs/core/LinHES-system/LinHES-session')
-rwxr-xr-x | abs/core/LinHES-system/LinHES-session | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/abs/core/LinHES-system/LinHES-session b/abs/core/LinHES-system/LinHES-session index 16705de..1a460b5 100755 --- a/abs/core/LinHES-system/LinHES-session +++ b/abs/core/LinHES-system/LinHES-session @@ -276,7 +276,12 @@ function start_myth() { then STARTCMD="/usr/bin/mythwelcome" else - STARTCMD="/usr/bin/mythfrontend -d --syslog local6" + if pacman -Q mythtv | grep -q 0.24 + then + STARTCMD="/usr/bin/mythfrontend -d -l /var/log/mythtv/mythfrontend.log" + else + STARTCMD="/usr/bin/mythfrontend -d --syslog local6" + fi fi echo "=====================================================================" |