aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-05-03 12:56:53 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-05-03 12:56:53 -0300
commit223d9951f4fe0183a058e44d589d405f0c278cbf (patch)
tree984bcb05a0e7d1c58d66d0bfd661495af407308c
parent05d209487e188e5e4a634aace13913835057bf2b (diff)
downloadhydra-223d9951f4fe0183a058e44d589d405f0c278cbf.tar.gz
hydra-223d9951f4fe0183a058e44d589d405f0c278cbf.tar.bz2
Added commented code: keyringer check
-rwxr-xr-xshare/hydra/init9
1 files changed, 9 insertions, 0 deletions
diff --git a/share/hydra/init b/share/hydra/init
index 0b6ef95..80dd449 100755
--- a/share/hydra/init
+++ b/share/hydra/init
@@ -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