vdr/vdr-plugin-prefermenu/debian postinst changelog control

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 02 Jan 2005 14:33:51 +0000


Update of /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-prefermenu/debian
In directory haydn:/tmp/cvs-serv17684/vdr/vdr-plugin-prefermenu/debian

Modified Files:
	changelog control 
Added Files:
	postinst 
Log Message:
* Build-dep and Depend on vdr (>=1.2.6-6)
* Change owner of cfg-file in debian/postinst

Index: changelog
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-prefermenu/debian/changelog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- changelog	26 Oct 2004 10:50:54 -0000	1.5
+++ changelog	2 Jan 2005 14:33:49 -0000	1.6
@@ -1,3 +1,14 @@
+vdr-plugin-prefermenu (0.6.2-3) unstable; urgency=low
+
+  !!! unreleased !!!
+
+  * Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
+    - Build-depend and Depend on vdr (>=1.2.6-6)
+    - Change owner/group of the config file to vdr:vdr in 
+      debian/postinst
+
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>  Sun,  2 Jan 2005 15:29:45 +0100
+
 vdr-plugin-prefermenu (0.6.2-2) unstable; urgency=low
 
   * Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>

--- NEW FILE: postinst ---
#! /bin/sh
# postinst script for vdr
#
# see: dh_installdeb(1)

set -e

# summary of how this script can be called:
#        * <postinst> `configure' <most-recently-configured-version>
#        * <old-postinst> `abort-upgrade' <new version>
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
#          <new-version>
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
#          <failed-install-package> <version> `removing'
#          <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
#
# quoting from the policy:
#     Any necessary prompting should almost always be confined to the
#     post-installation script, and should be protected with a conditional
#     so that unnecessary prompting doesn't happen if a package's
#     installation fails and the `postinst' is called with `abort-upgrade',
#     `abort-remove' or `abort-deconfigure'.

# source debconf lib
. /usr/share/debconf/confmodule

case "$1" in
    configure)
	# ensure that the config-file is correctly owned
	[ ! -e /var/lib/vdr/plugins/prefermenu.conf ] || \
	chown vdr:vdr /var/lib/vdr/plugins/prefermenu.conf
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

#DEBHELPER#

exit 0



Index: control
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-prefermenu/debian/control,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- control	26 Oct 2004 10:50:54 -0000	1.3
+++ control	2 Jan 2005 14:33:49 -0000	1.4
@@ -3,12 +3,12 @@
 Priority: extra
 Maintainer: Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>
 Uploaders: Thomas Schmidt <thomas.schmidt@in.stud.tu-ilmenau.de>
-Build-Depends: debhelper (>> 4.1.16), vdr-dev (>=1.1.16), dpatch (>= 2.0.9)
+Build-Depends: debhelper (>> 4.1.16), vdr-dev (>=1.2.6-6), dpatch (>= 2.0.9)
 Standards-Version: 3.6.1
 
 Package: vdr-plugin-prefermenu
 Architecture: any
-Depends: ${shlibs:Depends}, vdr (>=1.2.6)
+Depends: ${shlibs:Depends}, vdr (>=1.2.6-6)
 Conflicts: vdr (>=1.2.7)
 Description: Plugin that implements a preferred channels menu
  This plugin for vdr implements a preferred channels menu.