From 8ca6a350a7fedeae1a7c1fe5aec71e7c4dc0474e Mon Sep 17 00:00:00 2001
From: Cecil Hugh Watson <knoppmyth@gmail.com>
Date: Fri, 30 Jan 2009 16:31:33 -0800
Subject: Force initial mythtv-setup to run as mythtv user.

---
 abs/core-testing/LinHES-system/LinHES-run | 2 +-
 abs/core-testing/LinHES-system/PKGBUILD   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/abs/core-testing/LinHES-system/LinHES-run b/abs/core-testing/LinHES-system/LinHES-run
index ca992e4..23d52f1 100644
--- a/abs/core-testing/LinHES-system/LinHES-run
+++ b/abs/core-testing/LinHES-system/LinHES-run
@@ -31,7 +31,7 @@ then
         if [ ! $STATUS = 2 ]
         then
                 sudo sv stop mythbackend
-                xterm -fn *18* -e sudo taskset -c 0 /usr/bin/mythtv-setup
+                su -c mythtv xterm -fn *18* -e sudo taskset -c 0 /usr/bin/mythtv-setup
                 sudo sv start mythbackend
                 nice -n 19 mythfilldatabase --quiet &
         fi
diff --git a/abs/core-testing/LinHES-system/PKGBUILD b/abs/core-testing/LinHES-system/PKGBUILD
index 8989f9b..e9a805e 100644
--- a/abs/core-testing/LinHES-system/PKGBUILD
+++ b/abs/core-testing/LinHES-system/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-system
 pkgver=1.0
-pkgrel=20
+pkgrel=21
 arch=('i686')
 MVDIR=$startdir/pkg/usr/LH
 BINDIR=$startdir/pkg/usr/bin
-- 
cgit v0.12

