Mercurial > prosody-modules
annotate mod_admin_web/admin_web/get_deps.sh @ 479:597c872d691e
mod_default_bookmarks: Serve a list of default bookmarks if the user has nil.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 25 Nov 2011 11:03:04 +0100 |
parents | 7331e2669f24 |
children | 99465bbfa205 |
rev | line source |
---|---|
291
94fab3c0a7aa
mod_admin_web: replace get_deps.lua with a (working) get_deps.sh
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
1 #!/bin/sh |
397
7331e2669f24
mod_admin_web: Update dependencies / remove need to build strophe.js (Thanks Zash)
Florian Zeitz <florob@babelmonkeys.de>
parents:
332
diff
changeset
|
2 JQUERY_VERSION="1.6.2" |
7331e2669f24
mod_admin_web: Update dependencies / remove need to build strophe.js (Thanks Zash)
Florian Zeitz <florob@babelmonkeys.de>
parents:
332
diff
changeset
|
3 STROPHE_VERSION="1.0.2" |
291
94fab3c0a7aa
mod_admin_web: replace get_deps.lua with a (working) get_deps.sh
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
4 cd www_files/js |
397
7331e2669f24
mod_admin_web: Update dependencies / remove need to build strophe.js (Thanks Zash)
Florian Zeitz <florob@babelmonkeys.de>
parents:
332
diff
changeset
|
5 test -e jquery-$JQUERY_VERSION.min.js || wget http://code.jquery.com/jquery-$JQUERY_VERSION.min.js |
297
a70284e01453
mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents:
291
diff
changeset
|
6 test -e adhoc.js || wget http://cgit.babelmonkeys.de/cgit.cgi/adhocweb/plain/js/adhoc.js |
397
7331e2669f24
mod_admin_web: Update dependencies / remove need to build strophe.js (Thanks Zash)
Florian Zeitz <florob@babelmonkeys.de>
parents:
332
diff
changeset
|
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) |