diff options
Diffstat (limited to 'abs/core-testing/mythtv/stable/mythtv/mythtv.install')
-rw-r--r-- | abs/core-testing/mythtv/stable/mythtv/mythtv.install | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/abs/core-testing/mythtv/stable/mythtv/mythtv.install b/abs/core-testing/mythtv/stable/mythtv/mythtv.install deleted file mode 100644 index db1da94..0000000 --- a/abs/core-testing/mythtv/stable/mythtv/mythtv.install +++ /dev/null @@ -1,55 +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 -} -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 - chown root.mythtv /etc/systemconfig - chmod 664 /etc/systemconfig -} -pre_remove () { - pre_upgrade -} - -# arg 1: the old package version -post_remove() { - /bin/true - -} - -op=$1 -shift -$op $* |