2011-04-13 00:14:35 +00:00
|
|
|
#!/bin/bash
|
2011-04-15 23:28:37 +00:00
|
|
|
# Use this script to Download or Update all dependances to their last
|
|
|
|
# developpement version.
|
|
|
|
# The dependances will be placed in the sources directory, so you do not
|
|
|
|
# need to install them on your system at all.
|
|
|
|
|
|
|
|
# Use launch.sh to start poezio directly from here
|
|
|
|
|
|
|
|
echo 'Updating poezio'
|
2011-04-17 00:11:37 +00:00
|
|
|
hg pull -u
|
2011-04-13 00:14:35 +00:00
|
|
|
|
|
|
|
if [ -e "SleekXMPP" ]
|
|
|
|
then
|
|
|
|
echo "Updating SleekXMPP"
|
|
|
|
cd SleekXMPP
|
|
|
|
git pull
|
|
|
|
cd ..
|
|
|
|
else
|
|
|
|
echo "Downloading SleekXMPP"
|
|
|
|
git clone git://github.com/louiz/SleekXMPP.git
|
|
|
|
fi
|
|
|
|
if [ -e "dnspython" ]
|
|
|
|
then
|
|
|
|
echo "Updating dnspython"
|
|
|
|
cd dnspython
|
|
|
|
hg pull -u
|
|
|
|
cd ..
|
|
|
|
else
|
|
|
|
echo "Downloading dnspython"
|
|
|
|
hg clone http://hg.louiz.org/dnspython
|
|
|
|
fi
|
|
|
|
|
2011-04-17 11:20:37 +00:00
|
|
|
if [ -h "src/dns" ]
|
2011-04-13 00:14:35 +00:00
|
|
|
then
|
2011-04-17 11:20:37 +00:00
|
|
|
echo 'Link src/dns already exists'
|
|
|
|
else
|
2011-04-13 00:14:35 +00:00
|
|
|
echo "Creating link src/dns"
|
2011-04-17 11:20:37 +00:00
|
|
|
ln -s dnspython/dns src/dns
|
2011-04-13 00:14:35 +00:00
|
|
|
fi
|
2011-04-17 11:20:37 +00:00
|
|
|
if [ -h "src/sleekxmpp" ]
|
2011-04-13 00:14:35 +00:00
|
|
|
then
|
2011-04-17 11:20:37 +00:00
|
|
|
echo 'Link src/sleekxmpp already exists'
|
|
|
|
else
|
2011-04-13 00:14:35 +00:00
|
|
|
echo "Creating link src/sleekxmpp"
|
2011-04-17 11:20:37 +00:00
|
|
|
ln -s SleekXMPP/sleekxmpp src/sleekxmpp
|
2011-04-13 00:14:35 +00:00
|
|
|
fi
|