r3555 - in /packages/libtest-harness-perl/trunk/debian: postrm
preinst
gwolf at users.alioth.debian.org
gwolf at users.alioth.debian.org
Thu Aug 31 15:34:46 UTC 2006
Author: gwolf
Date: Thu Aug 31 15:34:45 2006
New Revision: 3555
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=3555
Log:
Added diversion, as package was uninstallable due to a file
conflicting with perl's (older) version of it.
Added:
packages/libtest-harness-perl/trunk/debian/postrm
packages/libtest-harness-perl/trunk/debian/preinst
Added: packages/libtest-harness-perl/trunk/debian/postrm
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libtest-harness-perl/trunk/debian/postrm?rev=3555&op=file
==============================================================================
--- packages/libtest-harness-perl/trunk/debian/postrm (added)
+++ packages/libtest-harness-perl/trunk/debian/postrm Thu Aug 31 15:34:45 2006
@@ -1,0 +1,13 @@
+#!/bin/sh
+# Preinstallation script for libtest-harness-perl
+#
+# Handles back the diversion of perl's /usr/bin/prove (which comes from an
+# earlier version of libtest-harness-perl)
+
+if [ "$1" = remove ]
+ then
+ dpkg-divert --package libtest-harness-perl --remove --rename \
+ --divert /usr/bin/prove.diverted /usr/bin/prove
+fi
+
+#DEBHELPER#
Added: packages/libtest-harness-perl/trunk/debian/preinst
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libtest-harness-perl/trunk/debian/preinst?rev=3555&op=file
==============================================================================
--- packages/libtest-harness-perl/trunk/debian/preinst (added)
+++ packages/libtest-harness-perl/trunk/debian/preinst Thu Aug 31 15:34:45 2006
@@ -1,0 +1,13 @@
+#!/bin/sh
+# Preinstallation script for libtest-harness-perl
+#
+# Diverts perl's /usr/bin/prove (which comes from an earlier
+# version of libtest-harness-perl)
+
+if [ "$1" = install -o "$1" = upgrade ]
+ then
+ dpkg-divert --package libtest-harness-perl --add --rename \
+ --divert /usr/bin/prove.diverted /usr/bin/prove
+fi
+
+#DEBHELPER#
More information about the Pkg-perl-cvs-commits
mailing list