Index: trunk/locker/deploy/bin/onathena
===================================================================
--- trunk/locker/deploy/bin/onathena	(revision 1207)
+++ trunk/locker/deploy/bin/onathena	(revision 1213)
@@ -236,12 +236,19 @@
 
 # xavid: use p to keep the same permissions as in the file
-athrun scripts gtar zxpf "/mit/scripts/deploy$scriptsdev/$deploy.tar.gz"
-files=`athrun scripts gfind . -mindepth 1 -maxdepth 1 | grep -v .admin`
-numfiles=`echo "$files" | wc -l`
-if [ ! -z "$files" ]; then
-    if [ "$numfiles" -eq 1 ]; then
-        athrun scripts gfind . -mindepth 2 -maxdepth 2 | xargs -i mv \{} .
-        rmdir "$files"
-    fi
+if [ "$deploy" = "mediawiki" ]; then
+  admin=`cat .admin`
+  rm .admin
+  git clone --shared "/mit/scripts/wizard$scriptsdev/srv/$deploy.git" .
+  echo "$admin" > .admin
+else
+  athrun scripts gtar zxpf "/mit/scripts/deploy$scriptsdev/$deploy.tar.gz"
+  files=`athrun scripts gfind . -mindepth 1 -maxdepth 1 | grep -v .admin`
+  numfiles=`echo "$files" | wc -l`
+  if [ ! -z "$files" ]; then
+      if [ "$numfiles" -eq 1 ]; then
+          athrun scripts gfind . -mindepth 2 -maxdepth 2 | xargs -i mv \{} .
+          rmdir "$files"
+      fi
+  fi
 fi
 if [ -f "/mit/scripts/deploy$scriptsdev/php.ini/$deploy" ]; then
