mod_admin_web/admin_web/get_deps.sh
author Florian Zeitz <florob@babelmonkeys.de>
Thu, 12 Jan 2012 20:26:16 +0100
changeset 547 f0ef6e285d69
parent 539 99465bbfa205
child 571 817322323fea
permissions -rwxr-xr-x
mod_adhoc_web: fade instead of scrolling
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
539
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
     2
JQUERY_VERSION="1.7.1"
397
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
547
f0ef6e285d69 mod_adhoc_web: fade instead of scrolling
Florian Zeitz <florob@babelmonkeys.de>
parents: 539
diff changeset
     6
test -e adhoc.js || wget -O adhoc.js "http://cgit.babelmonkeys.de/cgit.cgi/adhocweb/plain/js/adhoc.js?id=e55b23864a9911c15d930b43ed9afe1df5943bf7"
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)