]> gitweb.fluxo.info Git - hydra.git/commitdiff
Install borgbackup at hydra_newkeys_borg
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 23 May 2018 20:50:24 +0000 (17:50 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 23 May 2018 20:50:24 +0000 (17:50 -0300)
share/hydra/newkeys

index 88b68eb5e26a13e50c5702a1dfc1c9a73a50a558..1f2f6e238bda36e4aa60bfaa2ac0eea395e64483 100755 (executable)
@@ -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