File

mod_admin_web/admin_web/get_deps.sh @ 544:f78a95aa23c4

mod_server_status: corrected mistake in the code.
author Marco Cirillo <maranda@lightwitch.org>
date Tue, 10 Jan 2012 19:57:06 +0000
parent 539:99465bbfa205
child 547:f0ef6e285d69
line wrap: on
line source

#!/bin/sh
JQUERY_VERSION="1.7.1"
STROPHE_VERSION="1.0.2"
cd www_files/js
test -e jquery-$JQUERY_VERSION.min.js || wget http://code.jquery.com/jquery-$JQUERY_VERSION.min.js
test -e adhoc.js || wget http://cgit.babelmonkeys.de/cgit.cgi/adhocweb/plain/js/adhoc.js
test -e strophe.min.js || (wget https://github.com/downloads/metajack/strophejs/strophejs-$STROPHE_VERSION.tar.gz && tar xzf strophejs-$STROPHE_VERSION.tar.gz strophejs-$STROPHE_VERSION/strophe.min.js --strip-components=1 && rm strophejs-$STROPHE_VERSION.tar.gz)