From 8bbe01d74f25c2521514c85dbbc11061f963b035 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Sun, 17 Apr 2011 13:20:37 +0200 Subject: [PATCH] Fix update.sh one last time. --- update.sh | 12 ++++++++---- 1 file 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