summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/LinHES-run
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2012-05-01 21:41:19 (GMT)
committerBritney Fransen <brfransen@gmail.com>2012-05-01 21:41:19 (GMT)
commit327e251b49fb25c48ddddae3536f5ce4a8b710ce (patch)
tree8f5d7346ec0cbc999a7cf014a9d0533a47a8b829 /abs/core/LinHES-system/LinHES-run
parent622c2b05e6dc5f7a3d63cfe6bd51daae0e377b82 (diff)
downloadlinhes_pkgbuild-327e251b49fb25c48ddddae3536f5ce4a8b710ce.zip
linhes_pkgbuild-327e251b49fb25c48ddddae3536f5ce4a8b710ce.tar.gz
linhes_pkgbuild-327e251b49fb25c48ddddae3536f5ce4a8b710ce.tar.bz2
LinHES-system: LinHES-run & mythfrontend-start: check installed mythtv version and set startcmd.
Diffstat (limited to 'abs/core/LinHES-system/LinHES-run')
-rwxr-xr-xabs/core/LinHES-system/LinHES-run8
1 files changed, 6 insertions, 2 deletions
diff --git a/abs/core/LinHES-system/LinHES-run b/abs/core/LinHES-system/LinHES-run
index 0bb66ea..64fb2bc 100755
--- a/abs/core/LinHES-system/LinHES-run
+++ b/abs/core/LinHES-system/LinHES-run
@@ -111,8 +111,12 @@ if [ x"$UseMythWelcome" = "x1" ]
then
STARTCMD="/usr/bin/mythwelcome"
else
- #STARTCMD="/usr/bin/mythfrontend -d -l /var/log/mythtv/mythfrontend.log"
- 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 "====================================================================="