[vdr] 02/04: Use debhelper addon for dvb(sd|hd)device plugins

Tobias Grimm tiber-guest at moszumanska.debian.org
Sat Sep 26 21:26:19 UTC 2015


This is an automated email from the git hooks/post-receive script.

tiber-guest pushed a commit to branch e-tobi
in repository vdr.

commit a1ba55d1cc7bec531c72c245ee1eaa6d0aa5355e
Author: Tobias Grimm <etobi at debian.org>
Date:   Wed Sep 23 22:12:33 2015 +0200

    Use debhelper addon for dvb(sd|hd)device plugins
---
 debian/rules                           |  4 ++++
 debian/vdr-plugin-dvbhddevice.postinst | 11 -----------
 debian/vdr-plugin-dvbsddevice.postinst | 11 -----------
 3 files changed, 4 insertions(+), 22 deletions(-)

diff --git a/debian/rules b/debian/rules
index 4f2fd38..7ecda1a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -54,6 +54,10 @@ override_dh_installchangelogs:
 	dh_installchangelogs -pvdr-plugin-examples
 	dh_installchangelogs
 
+override_dh_installdeb:
+	DH_AUTOSCRIPTDIR=debian/dh-addon-vdrplugin debian/dh-addon-vdrplugin/dh_vdrplugin_enable
+	dh_installdeb
+
 check-patches:
 	python debian/patchcheck.py -c
 
diff --git a/debian/vdr-plugin-dvbhddevice.postinst b/debian/vdr-plugin-dvbhddevice.postinst
deleted file mode 100644
index 3fecb5c..0000000
--- a/debian/vdr-plugin-dvbhddevice.postinst
+++ /dev/null
@@ -1,11 +0,0 @@
-set -e
-
-if [ "$1" = configure -a -z "$2" ]; then
-  ln -sr "/etc/vdr/conf.avail/dvbhddevice.conf" "/etc/vdr/conf.d/50-dvbhddevice.conf"
-fi
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-#DEBHELPER#
-
-exit 0
diff --git a/debian/vdr-plugin-dvbsddevice.postinst b/debian/vdr-plugin-dvbsddevice.postinst
deleted file mode 100644
index e2c310b..0000000
--- a/debian/vdr-plugin-dvbsddevice.postinst
+++ /dev/null
@@ -1,11 +0,0 @@
-set -e
-
-if [ "$1" = configure -a -z "$2" ]; then
-  ln -sr "/etc/vdr/conf.avail/dvbsddevice.conf" "/etc/vdr/conf.d/50-dvbsddevice.conf"
-fi
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-#DEBHELPER#
-
-exit 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vdr-dvb/vdr.git



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