diff options
author | mathieui <mathieui@mathieui.net> | 2012-07-24 18:10:46 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-07-24 18:10:46 +0200 |
commit | b7b7d6b3aadde8cf769fec948f5598f66998e100 (patch) | |
tree | 7a347df657b42612282143c62467273091591c1a /update.sh | |
parent | 82e242305dba0e23069aeac7e65bb04aa9bb8556 (diff) | |
download | poezio-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-x | update.sh | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -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 |