From e7b4034e46a5056b6f064a4c2eea11f5c1251d19 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 19 Sep 2018 08:31:18 +0200 Subject: fix running with perl < 5.22.0 --- Makefile.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.PL') diff --git a/Makefile.PL b/Makefile.PL index 8cd7dadd..d4397fd7 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -59,7 +59,7 @@ sub install { # Take into account scripts in sbin under blib # and new manpage sections if ($inherited !~ s/"\$\(INST_BIN\)" "\$\(DESTINSTALL(\w*)BIN\)"/$& "\$(INST_SBIN)" "\$(DESTINSTALL$1SBIN)" "\$(INST_LIBEXEC)" "\$(DESTINSTALLLIBEXECDIR)" "\$(INST_MAN5DIR)" "\$(DESTINSTALLMAN5DIR)" "\$(INST_MAN8DIR)" "\$(DESTINSTALLMAN8DIR)"/g) { - die "Could not replace INST_SBIN!"; + die "Could not replace INST_SBIN!" if $] >= 5.022000; } # install files under /etc and /var my $po = $with_po ? ' installpo' : ''; -- cgit v1.2.1