view mod_admin_web/admin_web/get_deps.sh @ 358:4483bb889d12

mod_register_json: Minor refactor, default to port 9280 if option is unspecified or default to port 9443 if SSL is used. (Good, bad?)
author Marco Cirillo <maranda@lightwitch.org>
date Tue, 12 Apr 2011 17:47:47 +0000
parents d9c1231db77b
children 7331e2669f24
line wrap: on
line source

#!/bin/sh
cd www_files/js
test -e jquery-1.4.4.min.js || wget http://code.jquery.com/jquery-1.4.4.min.js
test -e adhoc.js || wget http://cgit.babelmonkeys.de/cgit.cgi/adhocweb/plain/js/adhoc.js
test -e strophe.js || (wget --no-check-certificate -O strophe.tar.gz https://github.com/metajack/strophejs/tarball/release-1.0.1 && \
	tar xzf strophe.tar.gz && rm strophe.tar.gz && cd metajack-strophejs-*/ && make strophe.js && cp strophe.js ../strophe.js && \
	cd .. && rm -rf metajack-strophejs*)