Mercurial > prosody-modules
comparison mod_admin_web/admin_web/get_deps.sh @ 397:7331e2669f24
mod_admin_web: Update dependencies / remove need to build strophe.js (Thanks Zash)
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Fri, 29 Jul 2011 22:39:58 +0200 |
parents | d9c1231db77b |
children | 99465bbfa205 |
comparison
equal
deleted
inserted
replaced
396:8cb21ef24e5d | 397:7331e2669f24 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 JQUERY_VERSION="1.6.2" | |
3 STROPHE_VERSION="1.0.2" | |
2 cd www_files/js | 4 cd www_files/js |
3 test -e jquery-1.4.4.min.js || wget http://code.jquery.com/jquery-1.4.4.min.js | 5 test -e jquery-$JQUERY_VERSION.min.js || wget http://code.jquery.com/jquery-$JQUERY_VERSION.min.js |
4 test -e adhoc.js || wget http://cgit.babelmonkeys.de/cgit.cgi/adhocweb/plain/js/adhoc.js | 6 test -e adhoc.js || wget http://cgit.babelmonkeys.de/cgit.cgi/adhocweb/plain/js/adhoc.js |
5 test -e strophe.js || (wget --no-check-certificate -O strophe.tar.gz https://github.com/metajack/strophejs/tarball/release-1.0.1 && \ | 7 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) |
6 tar xzf strophe.tar.gz && rm strophe.tar.gz && cd metajack-strophejs-*/ && make strophe.js && cp strophe.js ../strophe.js && \ | |
7 cd .. && rm -rf metajack-strophejs*) | |
8 |