dev-lang/perl: Restore missing call to check_rebuild
authorKent Fredric <kentnl@gentoo.org>
Sat, 17 Sep 2016 05:33:22 +0000 (17:33 +1200)
committerKent Fredric <kentnl@gentoo.org>
Sat, 17 Sep 2016 18:57:15 +0000 (06:57 +1200)
In the process of flattening perl-5.24.0-r1.ebuild, the call
to check_rebuild was omitted unintentionally, removing the ability
for this message to be displayed.

This commit reinserts the displaying of said message at the pkg_preinst
phase the last possible moment before the system perl gets updated for real.

Package-Manager: portage-2.3.0

dev-lang/perl/perl-5.24.0-r1.ebuild

index 3086c8e7ed910bea1a9a1d83689c8617b688b145..f984f969ac78edcdd7b6499cc8bbe0a15d1e8d6f 100644 (file)
@@ -471,6 +471,10 @@ src_install() {
        dual_scripts
 }
 
+pkg_preinst() {
+       check_rebuild
+}
+
 pkg_postinst() {
        dual_scripts