comparison install-dependencies.sh @ 952:0ecbcafdb32f

Follow redirections and do not overwrite existing files.
author Tom Gottfried <tom@intevation.de>
date Wed, 04 Nov 2015 14:52:55 +0100
parents 62f0b084fe1f
children 6f4e76b9388a
comparison
equal deleted inserted replaced
951:62f0b084fe1f 952:0ecbcafdb32f
3 CUR_DIR=`pwd` 3 CUR_DIR=`pwd`
4 SCRIPT_DIR=`dirname $0` 4 SCRIPT_DIR=`dirname $0`
5 5
6 cd $SCRIPT_DIR 6 cd $SCRIPT_DIR
7 curl -O https://cdn.sencha.com/ext/gpl/ext-4.2.1-gpl.zip 7 curl -O https://cdn.sencha.com/ext/gpl/ext-4.2.1-gpl.zip
8 unzip ext-4.2.1-gpl.zip 8 unzip -n ext-4.2.1-gpl.zip
9 ln -s ext-4.2.1.883 extjs 9 ln -s ext-4.2.1.883 extjs
10 10
11 mkdir -p resources/lib/ext 11 mkdir -p resources/lib/ext
12 cd resources/lib 12 cd resources/lib
13 13
14 curl https://github.com/eligrey/FileSaver.js/archive/master.zip \ 14 curl -L https://github.com/eligrey/FileSaver.js/archive/master.zip \
15 -o FileSaver-js.zip 15 -o FileSaver-js.zip
16 unzip FileSaver-js.zip 16 unzip -n FileSaver-js.zip
17 ln -s FileSaver.js-master FileSaver 17 ln -s FileSaver.js-master FileSaver
18 18
19 curl https://github.com/eligrey/Blob.js/archive/master.zip \ 19 curl -L https://github.com/eligrey/Blob.js/archive/master.zip \
20 -o Blob-js.zip 20 -o Blob-js.zip
21 unzip Blob-js.zip 21 unzip -n Blob-js.zip
22 ln -s Blob.js-master Blob 22 ln -s Blob.js-master Blob
23 23
24 curl https://github.com/openlayers/openlayers/archive/release-2.13.1.zip \ 24 curl -L https://github.com/openlayers/openlayers/archive/release-2.13.1.zip \
25 -o OpenLayers-2-13-1.zip 25 -o OpenLayers-2-13-1.zip
26 unzip OpenLayers-2-13-1.zip 26 unzip -n OpenLayers-2-13-1.zip
27 ln -s openlayers-release-2.13.1/build OpenLayers 27 ln -s openlayers-release-2.13.1/build OpenLayers
28 cd OpenLayers 28 cd OpenLayers
29 python build.py 29 python build.py
30 30
31 cd ../ext 31 cd ../ext
32 curl https://github.com/elmasse/Ext.i18n.Bundle/archive/v0.3.3.zip \ 32 curl -L https://github.com/elmasse/Ext.i18n.Bundle/archive/v0.3.3.zip \
33 -o Ext-i18n-Bundle-v0-3-3.zip 33 -o Ext-i18n-Bundle-v0-3-3.zip
34 unzip Ext-i18n-Bundle-v0-3-3.zip 34 unzip -n Ext-i18n-Bundle-v0-3-3.zip
35 ln -s Ext.i18n.Bundle-0.3.3/i18n i18n 35 ln -s Ext.i18n.Bundle-0.3.3/i18n i18n
36 36
37 curl https://github.com/ivan-novakov/extjs-upload-widget/archive/1.1.1.zip \ 37 curl -L https://github.com/ivan-novakov/extjs-upload-widget/archive/1.1.1.zip \
38 -o Ext-ux-Upload-1-1-1.zip 38 -o Ext-ux-Upload-1-1-1.zip
39 unzip Ext-ux-Upload-1-1-1.zip 39 unzip -n Ext-ux-Upload-1-1-1.zip
40 ln -s extjs-upload-widget-1.1.1/lib/upload upload 40 ln -s extjs-upload-widget-1.1.1/lib/upload upload
41 41
42 cd $CUR_DIR 42 cd $CUR_DIR

http://lada.wald.intevation.org