diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-23 17:22:19 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-23 17:22:19 (GMT) |
commit | bd68dfef60c156531e19e4406f0e7e31c89ff41d (patch) | |
tree | de5de81196ef60f6778d8408ecb2206d191ed313 /abs/core/mythtv/stable-0.25/mythtv | |
parent | 726a9764437fc32e18a3bcbe6c9b174be0e80049 (diff) | |
download | linhes_pkgbuild-bd68dfef60c156531e19e4406f0e7e31c89ff41d.zip linhes_pkgbuild-bd68dfef60c156531e19e4406f0e7e31c89ff41d.tar.gz linhes_pkgbuild-bd68dfef60c156531e19e4406f0e7e31c89ff41d.tar.bz2 |
mythtv .25: modified .intall file to call gen_lib_xml.py instead of calling sed for xbmc
Diffstat (limited to 'abs/core/mythtv/stable-0.25/mythtv')
-rw-r--r-- | abs/core/mythtv/stable-0.25/mythtv/mythtv.install | 26 |
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 } |