perl/debian/perl-doc.preinst

12 lines
188 B
Bash

#!/bin/sh -e
if [ "$1" = install ] || [ "$1" = upgrade ]
then
dpkg-divert --add --package perl-doc --rename \
--divert /usr/bin/perldoc.stub /usr/bin/perldoc
fi
#DEBHELPER#
exit 0