summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-04-17 13:20:37 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-04-17 13:20:37 +0200
commit8bbe01d74f25c2521514c85dbbc11061f963b035 (patch)
tree03148675dc6d28adb9bfcd9a619a4a7fb570e98d
parent56695b3cb60130ebdb12aa722808ca74dde45366 (diff)
downloadpoezio-8bbe01d74f25c2521514c85dbbc11061f963b035.tar.gz
poezio-8bbe01d74f25c2521514c85dbbc11061f963b035.tar.bz2
poezio-8bbe01d74f25c2521514c85dbbc11061f963b035.tar.xz
poezio-8bbe01d74f25c2521514c85dbbc11061f963b035.zip
Fix update.sh one last time.
-rwxr-xr-xupdate.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/update.sh b/update.sh
index 472e6a28..96da5b17 100755
--- a/update.sh
+++ b/update.sh
@@ -30,13 +30,17 @@ else
hg clone http://hg.louiz.org/dnspython
fi
-if [ ! -e "src/dns" ]
+if [ -h "src/dns" ]
then
+ echo 'Link src/dns already exists'
+else
echo "Creating link src/dns"
- ln -s src/dns dnspython/dns
+ ln -s dnspython/dns src/dns
fi
-if [ ! -e "src/sleekxmpp" ]
+if [ -h "src/sleekxmpp" ]
then
+ echo 'Link src/sleekxmpp already exists'
+else
echo "Creating link src/sleekxmpp"
- ln -s src/sleekxmpp SleekXMPP/sleekxmpp
+ ln -s SleekXMPP/sleekxmpp src/sleekxmpp
fi