Fix update.sh again, for bsd(re)tar(d).

This commit is contained in:
Florent Le Coz 2012-10-02 23:02:27 +02:00
parent cf470cec74
commit 30f38f6002

View file

@ -35,14 +35,14 @@ then
echo "dnspython up to date" echo "dnspython up to date"
else else
echo "Restoring dnspython" echo "Restoring dnspython"
tar xzf .dnspython.tgz tar xfz .dnspython.tgz
mv dnspython3-1.10.0 dnspython mv dnspython3-1.10.0 dnspython
fi fi
else else
echo "Downloading dnspython" echo "Downloading dnspython"
wget -c -q -O .dnspython.tgz http://www.dnspython.org/kits3/1.10.0/dnspython3-1.10.0.tar.gz wget -c -q -O .dnspython.tgz http://www.dnspython.org/kits3/1.10.0/dnspython3-1.10.0.tar.gz
rm -fr dnspython rm -fr dnspython
tar xzf .dnspython.tgz tar xfz .dnspython.tgz
mv dnspython3-1.10.0 dnspython mv dnspython3-1.10.0 dnspython
fi fi