# HG changeset patch # User Tom Gottfried # Date 1446645175 -3600 # Node ID 0ecbcafdb32f69dfe2812c03b0836513985d6b7a # Parent 62f0b084fe1f6788e25606553c2afe25ab013c9f Follow redirections and do not overwrite existing files. diff -r 62f0b084fe1f -r 0ecbcafdb32f install-dependencies.sh --- a/install-dependencies.sh Wed Nov 04 13:07:56 2015 +0100 +++ b/install-dependencies.sh Wed Nov 04 14:52:55 2015 +0100 @@ -5,38 +5,38 @@ cd $SCRIPT_DIR curl -O https://cdn.sencha.com/ext/gpl/ext-4.2.1-gpl.zip -unzip ext-4.2.1-gpl.zip +unzip -n ext-4.2.1-gpl.zip ln -s ext-4.2.1.883 extjs mkdir -p resources/lib/ext cd resources/lib -curl https://github.com/eligrey/FileSaver.js/archive/master.zip \ +curl -L https://github.com/eligrey/FileSaver.js/archive/master.zip \ -o FileSaver-js.zip -unzip FileSaver-js.zip +unzip -n FileSaver-js.zip ln -s FileSaver.js-master FileSaver -curl https://github.com/eligrey/Blob.js/archive/master.zip \ +curl -L https://github.com/eligrey/Blob.js/archive/master.zip \ -o Blob-js.zip -unzip Blob-js.zip +unzip -n Blob-js.zip ln -s Blob.js-master Blob -curl https://github.com/openlayers/openlayers/archive/release-2.13.1.zip \ +curl -L https://github.com/openlayers/openlayers/archive/release-2.13.1.zip \ -o OpenLayers-2-13-1.zip -unzip OpenLayers-2-13-1.zip +unzip -n OpenLayers-2-13-1.zip ln -s openlayers-release-2.13.1/build OpenLayers cd OpenLayers python build.py cd ../ext -curl https://github.com/elmasse/Ext.i18n.Bundle/archive/v0.3.3.zip \ +curl -L https://github.com/elmasse/Ext.i18n.Bundle/archive/v0.3.3.zip \ -o Ext-i18n-Bundle-v0-3-3.zip -unzip Ext-i18n-Bundle-v0-3-3.zip +unzip -n Ext-i18n-Bundle-v0-3-3.zip ln -s Ext.i18n.Bundle-0.3.3/i18n i18n -curl https://github.com/ivan-novakov/extjs-upload-widget/archive/1.1.1.zip \ +curl -L https://github.com/ivan-novakov/extjs-upload-widget/archive/1.1.1.zip \ -o Ext-ux-Upload-1-1-1.zip -unzip Ext-ux-Upload-1-1-1.zip +unzip -n Ext-ux-Upload-1-1-1.zip ln -s extjs-upload-widget-1.1.1/lib/upload upload cd $CUR_DIR