From: Silvio Rhatto Date: Wed, 3 May 2017 15:56:53 +0000 (-0300) Subject: Added commented code: keyringer check X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=223d9951f4fe0183a058e44d589d405f0c278cbf;p=hydra.git Added commented code: keyringer check --- 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