From b7b7d6b3aadde8cf769fec948f5598f66998e100 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 24 Jul 2012 18:10:46 +0200 Subject: Remove the need for hg and the dnspython fork (upstream works, now) --- update.sh | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'update.sh') diff --git a/update.sh b/update.sh index c2dba40e..f822108f 100755 --- a/update.sh +++ b/update.sh @@ -28,15 +28,22 @@ else echo "Downloading SleekXMPP" git clone git://github.com/louiz/SleekXMPP.git fi -if [ -e "dnspython" ] +if [ -e ".dnspython.tgz" ] then - echo "Updating dnspython" - cd dnspython - hg pull -u - cd .. + if [ -e "dnspython" ] + then + echo "dnspython up to date" + else + echo "Restoring dnspython" + tar xf .dnspython.tgz + mv dnspython3-1.10.0 dnspython + fi else echo "Downloading dnspython" - hg clone http://hg.louiz.org/dnspython + wget -c -q -O .dnspython.tgz http://www.dnspython.org/kits3/1.10.0/dnspython3-1.10.0.tar.gz + rm -fr dnspython + tar xf .dnspython.tgz + mv dnspython3-1.10.0 dnspython fi cd src -- cgit v1.2.3