Software /
code /
prosody-modules
Comparison
mod_admin_web/admin_web/get_deps.sh @ 331:b8ea61f3b442
mod_admin_web: Get strophe.js from tarball instead of git (Thanks darkrain)
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Thu, 03 Feb 2011 22:22:11 +0100 |
parent | 297:a70284e01453 |
child | 332:d9c1231db77b |
comparison
equal
deleted
inserted
replaced
330:ee85698096b0 | 331:b8ea61f3b442 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 cd www_files/js | 2 cd www_files/js |
3 test -e jquery-1.4.4.min.js || wget http://code.jquery.com/jquery-1.4.4.min.js | 3 test -e jquery-1.4.4.min.js || wget http://code.jquery.com/jquery-1.4.4.min.js |
4 test -e adhoc.js || wget http://cgit.babelmonkeys.de/cgit.cgi/adhocweb/plain/js/adhoc.js | 4 test -e adhoc.js || wget http://cgit.babelmonkeys.de/cgit.cgi/adhocweb/plain/js/adhoc.js |
5 test -e strophe.js || (git clone git://github.com/metajack/strophejs.git strophejs && \ | 5 test -e strophe.js || (wget --no-check-certificate https://github.com/metajack/strophejs/tarball/release-1.0.1 && \ |
6 cd strophejs && make strophe.js && cp strophe.js ../strophe.js && \ | 6 tar xzf *.tar.gz && rm *.tar.gz && cd metajack-strophejs* && make strophe.js && cp strophe.js ../strophe.js && \ |
7 cd .. && rm -rf strophejs) | 7 cd .. && rm -rf metajack-strophejs*) |
8 |