view mod_admin_web/admin_web/get_deps.sh @ 307:eeef1fa57f88

mod_admin_web: Specify only directory as bosh service, so it (normally) doesn't need changing (Thanks Zash)
author Florian Zeitz <florob@babelmonkeys.de>
date Mon, 27 Dec 2010 21:50:51 +0100
parents a70284e01453
children b8ea61f3b442
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 || (git clone git://github.com/metajack/strophejs.git strophejs && \
	cd strophejs && make strophe.js && cp strophe.js ../strophe.js && \
	cd .. && rm -rf strophejs)