]> gitweb.fluxo.info Git - hydra.git/commitdiff
Added commented code: keyringer check
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 3 May 2017 15:56:53 +0000 (12:56 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 3 May 2017 15:56:53 +0000 (12:56 -0300)
share/hydra/init

index 0b6ef956f56cef3adf7d05781e492cccfdc2b3a2..80dd449ea84abb172158132e351a959fb031a47a 100755 (executable)
@@ -23,6 +23,7 @@ hydra_config_load
 # Command line arguments
 BASEDIR="$1"
 REMOTE="$2"
+#DEPENDENCIES="keyringer"
 
 # Validation
 if [ -z "$BASEDIR" ]; then
@@ -36,6 +37,14 @@ elif [ -d "$BASEDIR" ]; then
   exit 1
 fi
 
+# Check for dependencies
+#for dependency in $DEPENDENCIES; do
+#  if ! which $dependency &> /dev/null; then
+#    echo "Please install $dependency"
+#    exit 1
+#  fi
+#done
+
 # Clone configuration repository or setup a new hydra
 if [ ! -z "$REMOTE" ]; then
   # Try to clone the superproject first