From 2cfec4cb8a0375674eb2b3dfeca54f2eeaf3ad41 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 1 May 2012 17:42:08 -0500 Subject: LinHES-system: LinHES-session: check installed mythtv version and set startcmd. --- abs/core/LinHES-system/LinHES-session | 7 ++++++- abs/core/LinHES-system/PKGBUILD | 4 ++-- 2 files changed, 8 insertions(+), 3 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 "=====================================================================" diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD index d91a10f..73bfb69 100644 --- a/abs/core/LinHES-system/PKGBUILD +++ b/abs/core/LinHES-system/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-system pkgver=2 -pkgrel=46 +pkgrel=47 arch=('i686') MVDIR=$startdir/pkg/usr/LH BINDIR=$startdir/pkg/usr/bin @@ -52,7 +52,7 @@ build() { mkdir $startdir/pkg/etc/logrotate.d cp $startdir/myth_mtc.lr $startdir/pkg/etc/logrotate.d } -md5sums=('e8a0e71dabadb5a860b4e113615c3071' +md5sums=('c26486418b0fc1eee4fc4e24c0a44988' '5881bdb43d578ec3a79d1f77ea58a3db' 'a875ee97f86e46f34a741c2bc455f894' '76b2637cac0452b3acdbeeb4e8a5474b' -- cgit v0.12