From 259b3c54db8b59ed70c78e20229b9990fcdb87d3 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Tue, 21 Aug 2012 19:03:22 -0500
Subject: mythtv .25:  now uses gen_is_xml.py Also removed  /var/log stuff that
 isn't used anymore

---
 abs/core/mythtv/stable-0.25/mythtv/mythtv.install | 30 +++--------------------
 1 file changed, 3 insertions(+), 27 deletions(-)

diff --git a/abs/core/mythtv/stable-0.25/mythtv/mythtv.install b/abs/core/mythtv/stable-0.25/mythtv/mythtv.install
index 3f2e304..58b669f 100644
--- a/abs/core/mythtv/stable-0.25/mythtv/mythtv.install
+++ b/abs/core/mythtv/stable-0.25/mythtv/mythtv.install
@@ -1,38 +1,14 @@
 # arg 1:  the new package version
 post_install() {
-	if [ ! -d /var/log/mythtv ]
-	then
-		mkdir -p /var/log/mythv
-		chown -R mythtv /var/log/mythtv
-		echo "---" > /var/log/mythtv/mythbackend.log
-		chown mythtv /var/log/mythtv/mythbackend.log
-	fi
-	ln -s /usr/share/mythtv/themes/defaultmenu/is.xml /usr/share/mythtv/is.xml
+	gen_is_xml.py
 }
 
 pre_upgrade() {
-	if [ ! -L /usr/share/mythtv/is.xml ]
-	then
-		mv /usr/share/mythtv/is.xml /usr/share/mythtv/is.xml.pre
-	else
-		mv /usr/share/mythtv/themes/defaultmenu/is.xml /usr/share/mythtv/themes/defaultmenu/is.xml.pre
-	fi
+	/bin/true
 }
 
 post_upgrade() {
-	if [ ! -d /var/log/mythtv ]
-	then
-		mkdir -p /var/log/mythv
-		chown -R mythtv /var/log/mythtv
-	fi
-	if [ -e /usr/share/mythtv/is.xml.pre ]
-	then
-		rm -fr /usr/share/mythtv/themes/defaultmenu/is.xml
-		mv /usr/share/mythtv/is.xml.pre /usr/share/mythtv/themes/defaultmenu/is.xml
-		ln -s /usr/share/mythtv/themes/defaultmenu/is.xml /usr/share/mythtv/is.xml
-	else
-		mv /usr/share/mythtv/themes/defaultmenu/is.xml.pre /usr/share/mythtv/themes/defaultmenu/is.xml
-	fi
+	gen_is_xml.py
 	pacxmbc=`pacman -Q xbmc`
     if [ -z "$pacxbmc" ]
 	then
-- 
cgit v0.12

