From 746d3376c6b11a2202d3c19745bc45ea76c20a94 Mon Sep 17 00:00:00 2001
From: Kai Reinhard <K.Reinhard@micromata.de>
Date: Tue, 15 Jan 2019 07:35:33 +0000
Subject: [PATCH] Auto-install borg...
---
borgbutler-core/src/main/java/de/micromata/borgbutler/config/Configuration.java | 24 ++----------------------
1 files changed, 2 insertions(+), 22 deletions(-)
diff --git a/borgbutler-core/src/main/java/de/micromata/borgbutler/config/Configuration.java b/borgbutler-core/src/main/java/de/micromata/borgbutler/config/Configuration.java
index 847660b..69629b8 100644
--- a/borgbutler-core/src/main/java/de/micromata/borgbutler/config/Configuration.java
+++ b/borgbutler-core/src/main/java/de/micromata/borgbutler/config/Configuration.java
@@ -21,36 +21,16 @@
*/
private static final String RESTORE_DIRNAME = "restore";
- @Getter
- private String binariesDownloadVersion = "1.1.8";
- @Getter
- private String binariesDownloadUrl = "https://github.com/borgbackup/borg/releases/download/" + binariesDownloadVersion + "/";
- @Getter
- private String[][] borgBinaries = {
- {"freebsd64", "FreeBSD 64"},
- {"linux32", "Linux 32"},
- {"linux64", "Linux 64"},
- {"macosx64", "MacOS X 64"}};
-
- @Getter
- private String minimumRequiredBorgVersion = "1.1.8";
-
@JsonIgnore
@Setter(AccessLevel.PACKAGE)
private File workingDir;
-
- /**
- * One of the values "macosx64", "linux64" etc. for using a binary provided by BorgButler or null / "manual" for
- * using a manual installed borg version.
- */
- @Getter
- private String borgBinary;
/**
* The path of the borg command to use.
*/
@Getter
@Setter
- private String borgCommand = "borg";
+ private String borgCommand;
+
/**
* Default is 100 MB (approximately).
*/
--
Gitblit v1.10.0