r7954 - in /vdr/vdr-plugin-epgsearch/trunk/debian: changelog control postinst postrm preinst

tiber-guest at users.alioth.debian.org tiber-guest at users.alioth.debian.org
Fri Oct 9 20:44:35 UTC 2009


Author: tiber-guest
Date: Fri Oct  9 20:44:35 2009
New Revision: 7954

URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/?sc=1&rev=7954
Log:
* Standards-Version: 3.8.3
* Dropped conf file moving to maintainer scripts

Removed:
    vdr/vdr-plugin-epgsearch/trunk/debian/preinst
Modified:
    vdr/vdr-plugin-epgsearch/trunk/debian/changelog
    vdr/vdr-plugin-epgsearch/trunk/debian/control
    vdr/vdr-plugin-epgsearch/trunk/debian/postinst
    vdr/vdr-plugin-epgsearch/trunk/debian/postrm

Modified: vdr/vdr-plugin-epgsearch/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-epgsearch/trunk/debian/changelog?rev=7954&op=diff
==============================================================================
--- vdr/vdr-plugin-epgsearch/trunk/debian/changelog (original)
+++ vdr/vdr-plugin-epgsearch/trunk/debian/changelog Fri Oct  9 20:44:35 2009
@@ -1,3 +1,10 @@
+vdr-plugin-epgsearch (0.9.24-5) unstable; urgency=low
+
+  * Standards-Version: 3.8.3
+  * Dropped conf file moving to maintainer scripts
+
+ -- Tobias Grimm <etobi at debian.org>  Fri, 09 Oct 2009 22:36:26 +0200
+
 vdr-plugin-epgsearch (0.9.24-4) unstable; urgency=low
 
   * Release for vdrdevel 1.7.6

Modified: vdr/vdr-plugin-epgsearch/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-epgsearch/trunk/debian/control?rev=7954&op=diff
==============================================================================
--- vdr/vdr-plugin-epgsearch/trunk/debian/control (original)
+++ vdr/vdr-plugin-epgsearch/trunk/debian/control Fri Oct  9 20:44:35 2009
@@ -2,9 +2,9 @@
 Section: video
 Priority: extra
 Maintainer: Debian VDR Team <pkg-vdr-dvb-devel at lists.alioth.debian.org>
-Uploaders: Thomas Schmidt <tschmidt at debian.org>, Tobias Grimm <tg at e-tobi.net>, Thomas Günther <tom at toms-cafe.de>
+Uploaders: Thomas Schmidt <tschmidt at debian.org>, Tobias Grimm <etobi at debian.org>, Thomas Günther <tom at toms-cafe.de>
 Build-Depends: debhelper (>> 5), cdbs, dpatch, vdr-dev (>= 1.6.0-5), gettext
-Standards-Version: 3.8.1
+Standards-Version: 3.8.3
 Vcs-Svn: svn://svn.debian.org/pkg-vdr-dvb/vdr/vdr-plugin-epgsearch/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-epgsearch/trunk/
 Homepage: http://winni.vdr-developer.org/epgsearch/

Modified: vdr/vdr-plugin-epgsearch/trunk/debian/postinst
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-epgsearch/trunk/debian/postinst?rev=7954&op=diff
==============================================================================
--- vdr/vdr-plugin-epgsearch/trunk/debian/postinst (original)
+++ vdr/vdr-plugin-epgsearch/trunk/debian/postinst Fri Oct  9 20:44:35 2009
@@ -1,47 +1,9 @@
 #! /bin/sh
 set -e
 
-#
-# With version 0.9.18, the conf files are moved into a sub dir.
-# The conf file moving procedure has been taken from:
-#
-# http://wiki.debian.org/DpkgConffileHandling
-#
-
-
-# Move a conffile without triggering a dpkg question
-mv_conffile()
-{
-    OLDCONFFILE="$1"
-    NEWCONFFILE="$2"
-
-    if [ -e "$OLDCONFFILE" ]; then
-        echo "Preserving user changes to $NEWCONFFILE ..."
-        mv -f "$NEWCONFFILE" "$NEWCONFFILE".dpkg-new
-        mv -f "$OLDCONFFILE" "$NEWCONFFILE"
-    fi
-}
-
-
-case "$1" in
-    configure)
-        # Change owner of directory for variable state information files
-        /bin/chown vdr:vdr /var/lib/vdr/plugins/epgsearch || true
-
-        if dpkg --compare-versions "$2" le "0.9.17d-2"; then
-            mv_conffile "/etc/vdr/plugins/epgsearchcmds.conf" "/etc/vdr/plugins/epgsearch/epgsearchcmds.conf"
-            mv_conffile "/etc/vdr/plugins/epgsearchmenu.conf" "/etc/vdr/plugins/epgsearch/epgsearchmenu.conf"
-            mv_conffile "/etc/vdr/plugins/epgsearchcats.conf" "/etc/vdr/plugins/epgsearch/epgsearchcats.conf"
-            # Move variable state information files
-            for file in epgsearch.conf epgsearchchangrps.conf epgsearchblacklists.conf epgsearchtemplates.conf \
-                        epgsearchswitchtimers.conf epgsearchdirs.conf epgsearchcmds-*.conf epgsearch.log \
-                        epgsearchdone.data .epgsearchrc .epgsearchupdate ; do
-                if [ -e "/var/lib/vdr/plugins/$file" ]; then
-                    mv -f "/var/lib/vdr/plugins/$file" "/var/lib/vdr/plugins/epgsearch/$file"
-                fi
-            done
-        fi
-    ;;
-esac
+if [ "$1" = "configure" ]; then
+    # Change owner of directory for variable state information files
+    chown vdr:vdr /var/lib/vdr/plugins/epgsearch || true
+fi
 
 #DEBHELPER#

Modified: vdr/vdr-plugin-epgsearch/trunk/debian/postrm
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-epgsearch/trunk/debian/postrm?rev=7954&op=diff
==============================================================================
--- vdr/vdr-plugin-epgsearch/trunk/debian/postrm (original)
+++ vdr/vdr-plugin-epgsearch/trunk/debian/postrm Fri Oct  9 20:44:35 2009
@@ -3,7 +3,7 @@
 
 # Remove configuration and log files
 if [ "$1" = "purge" ]; then
-    /bin/rm -rf /var/lib/vdr/plugins/epgsearch || true
+    rm -rf /var/lib/vdr/plugins/epgsearch || true
 fi
 
 #DEBHELPER#




More information about the pkg-vdr-dvb-changes mailing list