Fix links in the update.sh script

This commit is contained in:
Florent Le Coz 2011-04-21 17:04:37 +02:00
parent 4b932d3a87
commit 4968ff02d9

View file

@ -30,17 +30,18 @@ else
hg clone http://hg.louiz.org/dnspython
fi
if [ -h "src/dns" ]
cd src
if [ -h "dns" ]
then
echo 'Link src/dns already exists'
else
echo "Creating link src/dns"
ln -s dnspython/dns src/dns
ln -s ../dnspython/dns dns
fi
if [ -h "src/sleekxmpp" ]
if [ -h "sleekxmpp" ]
then
echo 'Link src/sleekxmpp already exists'
else
echo "Creating link src/sleekxmpp"
ln -s SleekXMPP/sleekxmpp src/sleekxmpp
ln -s ../SleekXMPP/sleekxmpp sleekxmpp
fi