Software /
code /
prosody-modules
File
mod_admin_web/admin_web/get_deps.sh @ 549:fc5df35a3fe4
mod_admin_web: Use proper path for www_data files (Thanks Zash)
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Sat, 14 Jan 2012 20:50:24 +0100 |
parent | 547:f0ef6e285d69 |
child | 571:817322323fea |
line wrap: on
line source
#!/bin/sh JQUERY_VERSION="1.7.1" STROPHE_VERSION="1.0.2" cd www_files/js test -e jquery-$JQUERY_VERSION.min.js || wget http://code.jquery.com/jquery-$JQUERY_VERSION.min.js test -e adhoc.js || wget -O adhoc.js "http://cgit.babelmonkeys.de/cgit.cgi/adhocweb/plain/js/adhoc.js?id=e55b23864a9911c15d930b43ed9afe1df5943bf7" 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)