summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythtv/stable
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-02-19 05:28:03 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-02-19 05:28:03 (GMT)
commit1e7bddfaa5a5aa41a8da065819711c453844f605 (patch)
tree2ae663a6cc68cba70e5e4c191dd458db6b132a7b /abs/core-testing/mythtv/stable
parent5652b0a3bc791732e8610d1c91e64c738022622e (diff)
parenta6c74e9e0b37d26ba7525d62602b812f7a6db61a (diff)
downloadlinhes_pkgbuild-1e7bddfaa5a5aa41a8da065819711c453844f605.zip
linhes_pkgbuild-1e7bddfaa5a5aa41a8da065819711c453844f605.tar.gz
linhes_pkgbuild-1e7bddfaa5a5aa41a8da065819711c453844f605.tar.bz2
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/mythtv/stable')
-rw-r--r--abs/core-testing/mythtv/stable/mythtv/PKGBUILD2
-rw-r--r--abs/core-testing/mythtv/stable/mythtv/mythtv.install21
2 files changed, 20 insertions, 3 deletions
diff --git a/abs/core-testing/mythtv/stable/mythtv/PKGBUILD b/abs/core-testing/mythtv/stable/mythtv/PKGBUILD
index 1e5b87d..941452f 100644
--- a/abs/core-testing/mythtv/stable/mythtv/PKGBUILD
+++ b/abs/core-testing/mythtv/stable/mythtv/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mythtv
pkgver=0.21
-pkgrel=36
+pkgrel=39
pkgdesc="A Homebrew PVR project"
arch=('i686' 'x86_64')
depends=('bash' 'mysql-clients>=5.0' 'qt3' 'lame' 'lirc-utils' 'ffmpeg' \
diff --git a/abs/core-testing/mythtv/stable/mythtv/mythtv.install b/abs/core-testing/mythtv/stable/mythtv/mythtv.install
index c460f19..87507a5 100644
--- a/abs/core-testing/mythtv/stable/mythtv/mythtv.install
+++ b/abs/core-testing/mythtv/stable/mythtv/mythtv.install
@@ -1,11 +1,28 @@
# arg 1: the new package version
post_install() {
- echo "See \"MythTV\" on the Archlinux Wiki for installation information - Extensive!!"
+ 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
+}
+
+post_upgrade() {
+ if [ ! -d /var/log/mythtv ]
+ then
+ mkdir -p /var/log/mythv
+ chown -R mythtv /var/log/mythtv
+ fi
}
+
# arg 1: the old package version
post_remove() {
- echo -e "NOTE: mysql database was not removed. To remove run:\nmysql -u root -e 'drop database mythconverg;'"
+ /bin/true
+
}
op=$1