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