diff --git a/build.xml b/build.xml
index 69abe451..30ab2c33 100644
--- a/build.xml
+++ b/build.xml
@@ -335,9 +335,6 @@
-
-
-
-
-
-
@@ -2447,42 +2438,6 @@
-
-
- Pushing UK Federation JSON files to MD dist.
- -> MD-NE-01
-
-
-
-
-
-
- -> MD-NE-02
-
-
-
-
-
-
- -> MD-WE-01
-
-
-
-
-
-
- -> MD-WE-02
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/utilities/githooks/post-receive b/utilities/githooks/post-receive
index 52303df1..946104f4 100755
--- a/utilities/githooks/post-receive
+++ b/utilities/githooks/post-receive
@@ -11,11 +11,6 @@ apachemdqdir=/var/www/html/mdq.uou/entities
# Set the location of the temporary mdq cache dir
mdqcachedir=/tmp/mdqcache
-# Set the location of JSON discofeed files
-jsontempdir=/tmp
-discofeed=discofeed.json
-discofeedall=discofeed-all.json
-
# This Git repo has had the latest stuff pushed to it, but it hasn't checked it out yet. So let's do it.
git --work-tree=$gitdir --git-dir=$gitdir/.git checkout -f
@@ -27,12 +22,6 @@ do
done
echo "Done."
-# The JSON files should have been SCPed to /tmp and be sitting there happily.
-echo -n "Gzipping 2 JSON discofeed files..."
-gzip -9 < "${jsontempdir}/$discofeed" > "${jsontempdir}/${discofeed}.gz"
-gzip -9 < "${jsontempdir}/$discofeedall" > "${jsontempdir}/${discofeedall}.gz"
-echo "Done."
-
# The MDQ cache should have been SCPed to /tmp and be sitting there happily.
# First, we should untar it.
echo -n "Untarring mdq cache... "
@@ -88,14 +77,12 @@ mtime=$(git --work-tree=$gitdir --git-dir=$gitdir/.git show $newrev --quiet --pr
echo -n "Setting the timestamp on each file to that of the commit... "
find $gitdir -regextype posix-extended -regex '.*\.(xml|gz)' -exec touch -d @$mtime {} \;
find $mdqcachedir -exec touch -d @$mtime {} \;
-touch -d @$mtime ${jsontempdir}/$discofeed ${jsontempdir}/${discofeed}.gz ${jsontempdir}/$discofeedall ${jsontempdir}/${discofeedall}.gz
echo "Done."
# Put files into the correct directory
echo -n "Rsyncing files to the appropriate apache directory... "
rsync -at $gitdir/aggregates/*.{xml,gz} $apacheaggrdir
rsync -at --delete $mdqcachedir/ $apachemdqdir
-rsync -at ${jsontempdir}/$discofeed ${jsontempdir}/${discofeed}.gz ${jsontempdir}/$discofeedall ${jsontempdir}/${discofeedall}.gz $apacheaggrdir
echo "Done."
# Remove the temporary files