Mercurial > lada > lada-client
view install-dependencies.sh @ 1256:f961f94495c8
Remove erroneous error handling.
This code seems to expect any LADA validation results coming along
with an HTTP status not indicating success, which should not happen.
Instead, Ext.JSON.decode() failed because of the non-JSON responseText
resulting from other errors.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 18 Nov 2016 19:46:15 +0100 |
parents | db9297e559ab |
children | 16fd88e8c922 |
line wrap: on
line source
#!/bin/bash -e CUR_DIR=`pwd` SCRIPT_DIR=`dirname $0` cd $SCRIPT_DIR curl -O https://cdn.sencha.com/ext/gpl/ext-4.2.1-gpl.zip unzip -n ext-4.2.1-gpl.zip ln -sf ext-4.2.1.883 extjs mkdir -p resources/lib/ext cd resources/lib curl -L https://github.com/eligrey/FileSaver.js/archive/master.zip \ -o FileSaver-js.zip unzip -n FileSaver-js.zip ln -sf FileSaver.js-master FileSaver curl -L https://github.com/eligrey/Blob.js/archive/master.zip \ -o Blob-js.zip unzip -n Blob-js.zip ln -sf Blob.js-master Blob curl -L https://github.com/openlayers/openlayers/archive/release-2.13.1.zip \ -o OpenLayers-2-13-1.zip unzip -n OpenLayers-2-13-1.zip ln -sf ol2-release-2.13.1 OpenLayers cd OpenLayers/build python build.py full.cfg ../OpenLayers.js cd ../../ext curl -L https://github.com/elmasse/Ext.i18n.Bundle/archive/v0.3.3.zip \ -o Ext-i18n-Bundle-v0-3-3.zip unzip -n Ext-i18n-Bundle-v0-3-3.zip ln -sf elmasse-bundle-0.3.3/i18n i18n curl -L https://github.com/ivan-novakov/extjs-upload-widget/archive/1.1.1.zip \ -o Ext-ux-Upload-1-1-1.zip unzip -n Ext-ux-Upload-1-1-1.zip ln -sf extjs-upload-widget-1.1.1/lib/upload upload cd $CUR_DIR