diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-11-26 14:11:14 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-11-26 14:11:14 +0300 |
commit | cf9383412494964d6188fcf08a362c0c0f313afc (patch) | |
tree | bd9e6a5b3a63cbb155b81112c855c19cb5f2b314 /debian/perl.postinst | |
download | perl-debian.tar.gz |
Import perl (5.30.0-9)debian/5.30.0-9debian
Diffstat (limited to 'debian/perl.postinst')
-rw-r--r-- | debian/perl.postinst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/perl.postinst b/debian/perl.postinst new file mode 100644 index 0000000..e8af453 --- /dev/null +++ b/debian/perl.postinst @@ -0,0 +1,18 @@ +#!/bin/sh -e + +if [ "$1" = configure ] +then + # rename (and prename) is now only provided by the rename package + update-alternatives --remove rename /usr/bin/prename + + if which dpkg-trigger >/dev/null 2>&1 && \ + [ -n "$2" ] && \ + dpkg --compare-versions "$2" lt 5.30.0~ + then + dpkg-trigger --no-await perl-major-upgrade + fi +fi + +#DEBHELPER# + +exit 0 |