1 |
cd static/js || exit |
#!/bin/sh |
|
|
|
|
function svn_upstream() { |
|
|
url=$1 |
|
|
dir=$2 |
|
|
echo "** svn $url -> $dir" |
|
|
test -d $dir/.svn && cd $dir && svn update || svn co $url $dir && cd - |
|
|
} |
|
|
function git_upstream() { |
|
|
url=$1 |
|
|
dir=`echo $1 | sed -e 's!^.*/\([^/]*\).git$!\1!'` |
|
|
echo "** git $url -> $dir" |
|
|
test -d $dir/.git && cd $dir && git pull || git clone $url && cd - |
|
|
} |
|
2 |
|
|
3 |
function hg_upstream() { |
source bin/checkout-upstream.sh |
|
url=$1 |
|
|
dir=`echo $1 | sed -e 's!^.*/\([^/]*\)$!\1!'` |
|
|
echo "** hg $url -> $dir" |
|
|
test -d $dir/.hg && cd $dir && hg pull || hg clone $url && cd - |
|
|
} |
|
4 |
|
|
5 |
|
cd static/js || exit |
6 |
|
|
7 |
wget -nc http://extjs.com/deploy/ext-2.2.zip |
wget -nc http://extjs.com/deploy/ext-2.2.zip |
8 |
unzip -u `ls -c ext*.zip | head -1` |
unzip -u `ls -c ext*.zip | head -1` |