From: Lisa Marie Maginnis <lisam@fsf.org>
Date: Mon, 6 Oct 2014 17:52:51 +0000 (-0400)
Subject: removed bad update hook
X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d9eb54a0c5be60ca2f702a861d68be5421540ad1;p=deploy-hooks.git

removed bad update hook
---

diff --git a/civicrm-core.git/post-update b/civicrm-core.git/post-update
deleted file mode 100755
index d73acc5..0000000
--- a/civicrm-core.git/post-update
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-
-unset GIT_DIR
-SELF=deploy_hooks.git
-REPO_DIR=$HOME/repositories
-CHECKOUT_DIR=$HOME/local/checkouts/deploy-hooks
-
-case $1 in
-    refs/heads/stable)
-	echo "Updating hooks on vcs.fsf.org..."
-	;;
-    *)
-        echo 'No rules for this branch!'
-	exit 0
-	;;
-esac
-
-echo "Updating local checkout..."
-if [ ! -d $CHECKOUT_DIR ]; then
-    git clone $REPO_DIR/$self $CHECKOUT_DIR
-    git checkout stable
-else
-    cd $CHECKOUT_DIR
-    git pull origin stable
-fi
-
-echo "Syncing hooks..."
-for working_copy in $(find $CHECKOUT_DIR -type d -maxdepth 1 -name '*git'); do
-    rsync -avrSPX --delete $working_copy/hooks/* $REPO_DIR/{$working_copy//*\//}/hooks/
-done
-
-exec git update-server-info 
-
-