From ca1365305eae118e4a44735b4392ca948de9586f Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 4 Jun 2017 17:03:00 +0200 Subject: Require borg executable when installing Signed-off-by: Florian Pritz --- Build.PL | 4 ++++ META.json | 1 + minil.toml | 2 ++ 3 files changed, 7 insertions(+) diff --git a/Build.PL b/Build.PL index 16855c4..b67cf3f 100644 --- a/Build.PL +++ b/Build.PL @@ -8,5 +8,9 @@ use strict; use Module::Build::Tiny 0.035; +use Devel::CheckBin; + +check_bin('borg'); + Build_PL(); diff --git a/META.json b/META.json index 2dcfdb3..ce68cfd 100644 --- a/META.json +++ b/META.json @@ -28,6 +28,7 @@ "prereqs" : { "configure" : { "requires" : { + "Devel::CheckBin" : "0", "Module::Build::Tiny" : "0.035" } }, diff --git a/minil.toml b/minil.toml index 10578ec..351ae5f 100644 --- a/minil.toml +++ b/minil.toml @@ -4,3 +4,5 @@ readme_from="script/borg-restore.pl" module_maker="ModuleBuildTiny" license="gpl_3" +requires_external_bin=["borg"] + -- cgit v1.2.3-24-g4f1b