summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/mythtv-vdpau/mythtv.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-11-04 04:08:02 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-11-04 04:08:02 (GMT)
commit4c97e029f2083f8217ef7d64dc28866decb47e53 (patch)
treea6e77188f41df884a4acd28eb32f659a3a796b25 /abs/extra/community/mythtv-vdpau/mythtv.install
parent0fdddf9ae0c87c986ce6cae751c07a0f8c603021 (diff)
downloadlinhes_pkgbuild-4c97e029f2083f8217ef7d64dc28866decb47e53.zip
linhes_pkgbuild-4c97e029f2083f8217ef7d64dc28866decb47e53.tar.gz
linhes_pkgbuild-4c97e029f2083f8217ef7d64dc28866decb47e53.tar.bz2
remove old packages that are no longer needed.
linhes-config-svn ddcxinfo-arch portmap mythtv-vdpau hdhgrp openjdk (jre is still present, we don't need or want both)
Diffstat (limited to 'abs/extra/community/mythtv-vdpau/mythtv.install')
-rw-r--r--abs/extra/community/mythtv-vdpau/mythtv.install61
1 files changed, 0 insertions, 61 deletions
diff --git a/abs/extra/community/mythtv-vdpau/mythtv.install b/abs/extra/community/mythtv-vdpau/mythtv.install
deleted file mode 100644
index a063766..0000000
--- a/abs/extra/community/mythtv-vdpau/mythtv.install
+++ /dev/null
@@ -1,61 +0,0 @@
-# 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
- if [ -e /tmp/is.xml ]
- then
- cp /tmp/is.xml /usr/share/mythtv/is.xml
- fi
-
- if [ -e /tmp/media_settings.xml ]
- then
- cp /tmp/media_settings.xml /usr/share/mythtv/media_settings.xml
- fi
-
- echo
- echo
- echo "As is with no guarantee, please don't file any bu reports against this package."
-}
-pre_upgrade() {
- if [ -e /usr/share/mythtv/is.xml ]
- then
- cp /usr/share/mythtv/is.xml /tmp
- fi
-
- if [ -e /usr/share/mythtv/media_settings.xml ]
- then
- cp /usr/share/mythtv/media_settings.xml /tmp
- fi
-}
-
-post_upgrade() {
- cp /tmp/is.xml /usr/share/mythtv/
- cp /tmp/media_settings.xml /usr/share/mythtv/
- if [ ! -d /var/log/mythtv ]
- then
- mkdir -p /var/log/mythv
- chown -R mythtv /var/log/mythtv
- fi
- echo
- echo
- echo "As is with no guarantee, please don't file any bu reports against this package."
-
-}
-pre_remove () {
- pre_upgrade
-}
-
-# arg 1: the old package version
-post_remove() {
- /bin/true
-
-}
-
-op=$1
-shift
-$op $*