summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/mythtv/stable-0.25/mythtv/mythtv.install26
1 files changed, 6 insertions, 20 deletions
diff --git a/abs/core/mythtv/stable-0.25/mythtv/mythtv.install b/abs/core/mythtv/stable-0.25/mythtv/mythtv.install
index 58b669f..3b44668 100644
--- a/abs/core/mythtv/stable-0.25/mythtv/mythtv.install
+++ b/abs/core/mythtv/stable-0.25/mythtv/mythtv.install
@@ -1,36 +1,22 @@
# arg 1: the new package version
post_install() {
- gen_is_xml.py
+ gen_is_xml.py
+ gen_lib_xml.py
}
pre_upgrade() {
- /bin/true
+ /bin/true
}
post_upgrade() {
- gen_is_xml.py
- pacxmbc=`pacman -Q xbmc`
- if [ -z "$pacxbmc" ]
- then
- mv /usr/share/mythtv/themes/defaultmenu/library.xml /tmp
- grep -v -e /mythmenu /tmp/library.xml > /tmp/library.xml.tmp
- echo "<!--#XBMC-->" >> /tmp/library.xml.tmp
- echo " <button>" >> /tmp/library.xml.tmp
- echo " <type>MENU_XBMC</type>" >> /tmp/library.xml.tmp
- echo " <text>Launch XBMC</text>" >> /tmp/library.xml.tmp
- echo " <action>EXEC /usr/bin/xbmc</action>" >> /tmp/library.xml.tmp
- echo " </button>" >> /tmp/library.xml.tmp
- echo "<!--#XBMC-->" >> /tmp/library.xml.tmp
- echo "" >> /tmp/library.xml.tmp
- echo "</mythmenu>" >> /tmp/library.xml.tmp
- mv /tmp/library.xml.tmp /usr/share/mythtv/themes/defaultmenu/library.xml
- fi
+ gen_is_xml.py
+ gen_lib_xml.py
}
# arg 1: the old package version
post_remove() {
- /bin/true
+ /bin/true
}