aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-05-23 17:50:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-05-23 17:50:24 -0300
commitd46e962a910b93fdc86de0dd2c1087e67e6a91f1 (patch)
treeb6d61469565a0913b9a1d22c04ebd74e0a2d6255
parentb4f3350f6a56fac5f10e3229b10307259a87188a (diff)
downloadhydra-d46e962a910b93fdc86de0dd2c1087e67e6a91f1.tar.gz
hydra-d46e962a910b93fdc86de0dd2c1087e67e6a91f1.tar.bz2
Install borgbackup at hydra_newkeys_borg
-rwxr-xr-xshare/hydra/newkeys10
1 files changed, 6 insertions, 4 deletions
diff --git a/share/hydra/newkeys b/share/hydra/newkeys
index 88b68eb..1f2f6e2 100755
--- a/share/hydra/newkeys
+++ b/share/hydra/newkeys
@@ -68,10 +68,12 @@ function hydra_newkeys {
function hydra_newkeys_borg {
# Check for borg
- if ! which borg &> /dev/null; then
- echo "Please install borgbackup to be able to generate borg keys"
- return 1
- fi
+ #if ! which borg &> /dev/null; then
+ # echo "Please install borgbackup to be able to generate borg keys"
+ # return 1
+ #fi
+
+ hydra_install_package borgbackup
# Set working folder
hydra_set_tmpfile hydra.newkeys.borg -d