From 223d9951f4fe0183a058e44d589d405f0c278cbf Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 3 May 2017 12:56:53 -0300 Subject: Added commented code: keyringer check --- share/hydra/init | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'share') 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 -- cgit v1.2.3