Package: rplay
Version: 3.3.2-8
Severity: normal
Tags: patch

Hi,

in order to complete the /usr/doc -> /usr/share/doc transition, rplay
needs to stop creating symlinks in /usr/doc from its postinst. Please
apply the attached patch (which removes most debian/*.postinst files,
because they aren't needed now).

Thanks,
Julien Cristau

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.10
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
diff -Nru rplay-3.3.2.orig/debian/librplay3-dev.postinst 
rplay-3.3.2/debian/librplay3-dev.postinst
--- rplay-3.3.2.orig/debian/librplay3-dev.postinst      2005-08-13 
00:32:20.650120199 +0200
+++ rplay-3.3.2/debian/librplay3-dev.postinst   1970-01-01 01:00:00.000000000 
+0100
@@ -1,11 +0,0 @@
-#!/bin/sh -e
-
-pkg=librplay3-dev
-
-if [ "$1" = "configure" ]; then
-  if [ -d /usr/doc -a ! -e /usr/doc/$pkg -a -d /usr/share/doc/$pkg ]; then
-    ln -sf ../share/doc/$pkg /usr/doc/$pkg
-  fi
-fi
-
-#DEBHELPER#
diff -Nru rplay-3.3.2.orig/debian/rplay-client.postinst 
rplay-3.3.2/debian/rplay-client.postinst
--- rplay-3.3.2.orig/debian/rplay-client.postinst       2005-08-13 
00:32:20.656119094 +0200
+++ rplay-3.3.2/debian/rplay-client.postinst    1970-01-01 01:00:00.000000000 
+0100
@@ -1,11 +0,0 @@
-#!/bin/sh -e
-
-pkg=rplay
-
-if [ "$1" = "configure" ]; then
-  if [ -d /usr/doc -a ! -e /usr/doc/$pkg -a -d /usr/share/doc/$pkg ]; then
-    ln -sf ../share/doc/$pkg /usr/doc/$pkg
-  fi
-fi
-
-#DEBHELPER#
diff -Nru rplay-3.3.2.orig/debian/rplay-contrib.postinst 
rplay-3.3.2/debian/rplay-contrib.postinst
--- rplay-3.3.2.orig/debian/rplay-contrib.postinst      2005-08-13 
00:32:20.646120935 +0200
+++ rplay-3.3.2/debian/rplay-contrib.postinst   1970-01-01 01:00:00.000000000 
+0100
@@ -1,11 +0,0 @@
-#!/bin/sh -e
-
-pkg=rplay-contrib
-
-if [ "$1" = "configure" ]; then
-  if [ -d /usr/doc -a ! -e /usr/doc/$pkg -a -d /usr/share/doc/$pkg ]; then
-    ln -sf ../share/doc/$pkg /usr/doc/$pkg
-  fi
-fi
-
-#DEBHELPER#
diff -Nru rplay-3.3.2.orig/debian/rplay-server.postinst 
rplay-3.3.2/debian/rplay-server.postinst
--- rplay-3.3.2.orig/debian/rplay-server.postinst       2005-08-13 
00:32:20.653119647 +0200
+++ rplay-3.3.2/debian/rplay-server.postinst    2005-08-13 00:34:23.622473955 
+0200
@@ -3,10 +3,6 @@
 pkg=rplayd
 
 if [ "$1" = "configure" ]; then
-  if [ -d /usr/doc -a ! -e /usr/doc/$pkg -a -d /usr/share/doc/$pkg ]; then
-    ln -sf ../share/doc/$pkg /usr/doc/$pkg
-  fi
-
   if [ -e /etc/init.d/rplayd ]; then
       rm /etc/init.d/rplayd
   fi
diff -Nru rplay-3.3.2.orig/debian/rplay.postinst 
rplay-3.3.2/debian/rplay.postinst
--- rplay-3.3.2.orig/debian/rplay.postinst      2005-08-13 00:32:20.652119831 
+0200
+++ rplay-3.3.2/debian/rplay.postinst   1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
-#!/bin/sh -e
-
-pkg=rplay
-
-if [ "$1" = "configure" ]; then
-  if [ -d /usr/doc -a ! -e /usr/doc/$pkg -a -d /usr/share/doc/$pkg ]; then
-    ln -sf ../share/doc/$pkg /usr/doc/$pkg
-  fi
-fi
-
-#DEBHELPER#

Attachment: signature.asc
Description: Digital signature

Reply via email to