summaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-07-24 18:10:46 +0200
committermathieui <mathieui@mathieui.net>2012-07-24 18:10:46 +0200
commitb7b7d6b3aadde8cf769fec948f5598f66998e100 (patch)
tree7a347df657b42612282143c62467273091591c1a /update.sh
parent82e242305dba0e23069aeac7e65bb04aa9bb8556 (diff)
downloadpoezio-b7b7d6b3aadde8cf769fec948f5598f66998e100.tar.gz
poezio-b7b7d6b3aadde8cf769fec948f5598f66998e100.tar.bz2
poezio-b7b7d6b3aadde8cf769fec948f5598f66998e100.tar.xz
poezio-b7b7d6b3aadde8cf769fec948f5598f66998e100.zip
Remove the need for hg and the dnspython fork
(upstream works, now)
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh19
1 files changed, 13 insertions, 6 deletions
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