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 | |
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')
-rwxr-xr-x | abs/core/LinHES-system/LinHES-session | 7 | ||||
-rw-r--r-- | 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' |