summaryrefslogtreecommitdiff
path: root/debian/perl-doc.postrm
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-11-26 14:11:14 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-11-26 14:11:14 +0300
commitcf9383412494964d6188fcf08a362c0c0f313afc (patch)
treebd9e6a5b3a63cbb155b81112c855c19cb5f2b314 /debian/perl-doc.postrm
downloadperl-cf9383412494964d6188fcf08a362c0c0f313afc.tar.gz
Import perl (5.30.0-9)debian/5.30.0-9debian
Diffstat (limited to 'debian/perl-doc.postrm')
-rw-r--r--debian/perl-doc.postrm11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/perl-doc.postrm b/debian/perl-doc.postrm
new file mode 100644
index 0000000..d35480e
--- /dev/null
+++ b/debian/perl-doc.postrm
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+if [ "$1" = remove ]
+then
+ dpkg-divert --remove --package perl-doc --rename \
+ --divert /usr/bin/perldoc.stub /usr/bin/perldoc
+fi
+
+#DEBHELPER#
+
+exit 0