summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/stable-0.23
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-04-13 04:00:19 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-04-13 04:00:19 (GMT)
commitc5386f09a7257bae94e78e4dbcde52e232516ae7 (patch)
tree5ad929164a4cf2c959b3ee9f6186b734ab879e81 /abs/core-testing/mythtv/stable-0.23
parent209b965ae411e337045a61973089849ca3b2c51a (diff)
downloadlinhes_pkgbuild-c5386f09a7257bae94e78e4dbcde52e232516ae7.zip
linhes_pkgbuild-c5386f09a7257bae94e78e4dbcde52e232516ae7.tar.gz
linhes_pkgbuild-c5386f09a7257bae94e78e4dbcde52e232516ae7.tar.bz2
mythtv:latest -fixes. fix for is.xml reservation when upgrading.
Diffstat (limited to 'abs/core-testing/mythtv/stable-0.23')
-rwxr-xr-xabs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD4
-rwxr-xr-xabs/core-testing/mythtv/stable-0.23/mythtv/mythtv.install4
2 files changed, 6 insertions, 2 deletions
diff --git a/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD
index 26faaaf..11e0a35 100755
--- a/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mythtv
pkgver=0.23
-pkgrel=8
+pkgrel=10
pkgdesc="A personal video recorder for Linux"
url="http://www.mythtv.org"
license="GPL"
@@ -10,7 +10,7 @@ depends=('bash' 'mysql-clients>=5.0' 'qt' 'lame' 'lirc-utils' 'ffmpeg' \
makedepends=('libgl' 'subversion')
replaces=()
groups=('pvr')
-backup=(/usr/share/mythtv/is.xml)
+#backup=(/usr/share/mythtv/is.xml)
#options=(!strip)
#MAKEFLAGS="-j6"
install='mythtv.install'
diff --git a/abs/core-testing/mythtv/stable-0.23/mythtv/mythtv.install b/abs/core-testing/mythtv/stable-0.23/mythtv/mythtv.install
index b9899a0..0524f86 100755
--- a/abs/core-testing/mythtv/stable-0.23/mythtv/mythtv.install
+++ b/abs/core-testing/mythtv/stable-0.23/mythtv/mythtv.install
@@ -14,6 +14,8 @@ 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
}
@@ -28,6 +30,8 @@ post_upgrade() {
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
}