sudo="sudo"
fi
-# Deploy, git version
-#
-#if ! which git &> /dev/null; then
-# echo "Installing git..."
-# $sudo apt-get update
-# $sudo apt-get install git -y
-#fi
-#
-#if [ -z "$ORIGIN" ]; then
-# ORIGIN="git://git.fluxo.info/hydra.git"
-#fi
-#
-#if [ ! -d /usr/local/share/hydra ]; then
-# $sudo git clone $ORIGIN /usr/local/share/hydra
-# ( cd /usr/local/share/hydra ; $sudo git reset --hard $COMMIT )
-#else
-# ( cd /usr/local/share/hydra ; $sudo git pull ; $sudo git reset --hard $COMMIT )
-#fi
+# Check for git
+if ! which git &> /dev/null; then
+ echo "Installing git..."
+ $sudo apt-get update
+ $sudo apt-get install git -y
+fi
# Deploy, rsync version
if [ "$APP_BASE" != "/usr/local/share/hydra" ]; then