Debian Codegraph @

debian/postrm

raw
1 #!/bin/sh
2
3 set -e
4
5 if [ "$1" = remove ]
6 then
7 dpkg-divert --remove --package libcpanplus-perl --rename \
8 --divert /usr/bin/cpanp.bundled /usr/bin/cpanp
9 dpkg-divert --remove --package libcpanplus-perl --rename \
10 --divert /usr/bin/cpan2dist.bundled /usr/bin/cpan2dist
11 dpkg-divert --remove --package libcpanplus-perl --rename \
12 --divert /usr/bin/cpanp-run-perl.bundled /usr/bin/cpanp-run-perl
13
14 dpkg-divert --remove --package libcpanplus-perl --rename \
15 --divert /usr/share/man/man1/cpanp.bundled.1.gz /usr/share/man/man1/cpanp.1.gz
16 dpkg-divert --remove --package libcpanplus-perl --rename \
17 --divert /usr/share/man/man1/cpan2dist.bundled.1.gz /usr/share/man/man1/cpan2dist.1.gz
18 fi
19
20 # dh_installdeb will replace this with shell code automatically
21 # generated by other debhelper scripts.
22
23 #DEBHELPER#
24
25 exit 0