diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-22 00:03:22 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-22 00:03:22 (GMT) |
commit | 259b3c54db8b59ed70c78e20229b9990fcdb87d3 (patch) | |
tree | d237b5771dbc2181e8606c6e6353a7ecb0d007ee /abs | |
parent | d6600740d35ce7e19f4a2a5b713614bf963780be (diff) | |
download | linhes_pkgbuild-259b3c54db8b59ed70c78e20229b9990fcdb87d3.zip linhes_pkgbuild-259b3c54db8b59ed70c78e20229b9990fcdb87d3.tar.gz linhes_pkgbuild-259b3c54db8b59ed70c78e20229b9990fcdb87d3.tar.bz2 |
mythtv .25: now uses gen_is_xml.py
Also removed /var/log stuff that isn't used anymore
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/mythtv/stable-0.25/mythtv/mythtv.install | 30 |
1 files 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 |