r8673 - in /vdr/vdr-plugin-xineliboutput/trunk/debian: changelog vdr-plugin-xineliboutput.postinst vdr-plugin-xineliboutput.postrm
tiber-guest at users.alioth.debian.org
tiber-guest at users.alioth.debian.org
Tue Jun 8 21:20:31 UTC 2010
Author: tiber-guest
Date: Tue Jun 8 21:20:30 2010
New Revision: 8673
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/?sc=1&rev=8673
Log:
* New Upstream Snapshot
* Fixed postrm bug
Modified:
vdr/vdr-plugin-xineliboutput/trunk/debian/changelog
vdr/vdr-plugin-xineliboutput/trunk/debian/vdr-plugin-xineliboutput.postinst
vdr/vdr-plugin-xineliboutput/trunk/debian/vdr-plugin-xineliboutput.postrm
Modified: vdr/vdr-plugin-xineliboutput/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-xineliboutput/trunk/debian/changelog?rev=8673&op=diff
==============================================================================
--- vdr/vdr-plugin-xineliboutput/trunk/debian/changelog (original)
+++ vdr/vdr-plugin-xineliboutput/trunk/debian/changelog Tue Jun 8 21:20:30 2010
@@ -1,3 +1,10 @@
+vdr-plugin-xineliboutput (1.0.6+cvs20100608.2009-1) unstable; urgency=low
+
+ * New Upstream Snapshot
+ * Fixed postrm bug
+
+ -- Tobias Grimm <etobi at debian.org> Tue, 08 Jun 2010 22:09:31 +0200
+
vdr-plugin-xineliboutput (1.0.6+cvs20100524.1147-1) unstable; urgency=low
* New Upstream Snapshot
Modified: vdr/vdr-plugin-xineliboutput/trunk/debian/vdr-plugin-xineliboutput.postinst
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-xineliboutput/trunk/debian/vdr-plugin-xineliboutput.postinst?rev=8673&op=diff
==============================================================================
--- vdr/vdr-plugin-xineliboutput/trunk/debian/vdr-plugin-xineliboutput.postinst (original)
+++ vdr/vdr-plugin-xineliboutput/trunk/debian/vdr-plugin-xineliboutput.postinst Tue Jun 8 21:20:30 2010
@@ -21,9 +21,18 @@
case "$1" in
configure)
chown -R vdr:vdr /var/lib/vdr/plugins/xineliboutput
+
+ allowed_hosts=vdr/plugins/xineliboutput/allowed_hosts.conf
if dpkg --compare-versions "$2" le "1.0.4+cvs20100117.1236-1"; then
grep -v -E '^\s*#|127\.0\.\0\.1|^\s*$' /etc/vdr/svdrphosts.conf \
- >>/etc/vdr/plugins/xineliboutput/allowed_hosts.conf || true
+ >>/etc/$allowed_hosts || true
+ fi
+ #
+ # post rm of previous version might delete the symlink on `postrm upgrade`
+ # due to stupid bug, so try to recreate it if necessary
+ #
+ if [ ! -e /var/lib/$allowed_hosts ] ; then
+ ln -s /etc/$allowed_hosts /var/lib/$allowed_hosts
fi
;;
Modified: vdr/vdr-plugin-xineliboutput/trunk/debian/vdr-plugin-xineliboutput.postrm
URL: http://svn.debian.org/wsvn/pkg-vdr-dvb/vdr/vdr-plugin-xineliboutput/trunk/debian/vdr-plugin-xineliboutput.postrm?rev=8673&op=diff
==============================================================================
--- vdr/vdr-plugin-xineliboutput/trunk/debian/vdr-plugin-xineliboutput.postrm (original)
+++ vdr/vdr-plugin-xineliboutput/trunk/debian/vdr-plugin-xineliboutput.postrm Tue Jun 8 21:20:30 2010
@@ -19,8 +19,10 @@
case "$1" in
- purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ purge)
rm -rf /var/lib/vdr/plugins/xineliboutput/* || true
+ ;;
+ remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
More information about the pkg-vdr-dvb-changes
mailing list