summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/LinHES-session
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2012-05-01 22:42:08 (GMT)
committerBritney Fransen <brfransen@gmail.com>2012-05-01 22:42:08 (GMT)
commit2cfec4cb8a0375674eb2b3dfeca54f2eeaf3ad41 (patch)
tree97925de186c88413ff030c38234b3c77e7bf0574 /abs/core/LinHES-system/LinHES-session
parent7f8b8d8d5c5bbf215ff380e60e70a5edd72a0169 (diff)
downloadlinhes_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-xabs/core/LinHES-system/LinHES-session7
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 "====================================================================="