summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-06-04 17:03:00 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-06-04 17:03:00 +0200
commitca1365305eae118e4a44735b4392ca948de9586f (patch)
tree4a9ff062dd223b89a1c4944855d986b79f15f71e
parenteee7f47d8b3c685d0f8ba0ad79fad5afd8d719f6 (diff)
downloadApp-BorgRestore-ca1365305eae118e4a44735b4392ca948de9586f.tar.gz
App-BorgRestore-ca1365305eae118e4a44735b4392ca948de9586f.tar.xz
Require borg executable when installing
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--Build.PL4
-rw-r--r--META.json1
-rw-r--r--minil.toml2
3 files changed, 7 insertions, 0 deletions
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"]
+