r1490 - vdr/vdr-plugin-radio/trunk/debian

Thomas Günther tom-guest at costa.debian.org
Sun Nov 20 00:23:43 UTC 2005


Author: tom-guest
Date: 2005-11-20 00:23:42 +0000 (Sun, 20 Nov 2005)
New Revision: 1490

Modified:
   vdr/vdr-plugin-radio/trunk/debian/changelog
   vdr/vdr-plugin-radio/trunk/debian/postinst
   vdr/vdr-plugin-radio/trunk/debian/prerm
Log:
Fixed making/removing of directory /var/lib/vdr/plugins/radio

Modified: vdr/vdr-plugin-radio/trunk/debian/changelog
===================================================================
--- vdr/vdr-plugin-radio/trunk/debian/changelog	2005-11-19 21:39:58 UTC (rev 1489)
+++ vdr/vdr-plugin-radio/trunk/debian/changelog	2005-11-20 00:23:42 UTC (rev 1490)
@@ -11,7 +11,7 @@
       if linked to the default background image
     - Build-Depend on vdr-dev (>= 1.3.33-1)
 
- -- Debian VDR Team <pkg-vdr-dvb-devel at lists.alioth.debian.org>  Sat, 19 Nov 2005 16:07:38 +0100
+ -- Debian VDR Team <pkg-vdr-dvb-devel at lists.alioth.debian.org>  Sun, 20 Nov 2005 00:47:45 +0100
 
 vdr-plugin-radio (0.0.5-9) unstable; urgency=low
 

Modified: vdr/vdr-plugin-radio/trunk/debian/postinst
===================================================================
--- vdr/vdr-plugin-radio/trunk/debian/postinst	2005-11-19 21:39:58 UTC (rev 1489)
+++ vdr/vdr-plugin-radio/trunk/debian/postinst	2005-11-20 00:23:42 UTC (rev 1490)
@@ -6,7 +6,8 @@
     LNK=/var/lib/vdr/plugins/radio/radio.mpg
     MPG=/usr/share/vdr-plugin-radio/radio.mpg
     if [ ! -e $LNK -a ! -L $LNK ]; then
-        /bin/ln -s $MPG $LNK
+        /bin/mkdir -p $(dirname $LNK)
+        /bin/ln -s $MPG $LNK || true
     fi
 fi
 

Modified: vdr/vdr-plugin-radio/trunk/debian/prerm
===================================================================
--- vdr/vdr-plugin-radio/trunk/debian/prerm	2005-11-19 21:39:58 UTC (rev 1489)
+++ vdr/vdr-plugin-radio/trunk/debian/prerm	2005-11-20 00:23:42 UTC (rev 1490)
@@ -6,7 +6,7 @@
     LNK=/var/lib/vdr/plugins/radio/radio.mpg
     MPG=/usr/share/vdr-plugin-radio/radio.mpg
     if [ -L $LNK ] && /usr/bin/cmp --quiet $LNK $MPG ; then
-        /bin/rm -f $LNK
+        /bin/rm -f -r $(dirname $LNK) || true
     fi
 fi
 




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