view mod_admin_web/admin_web/get_deps.sh @ 468:640e6c0b563d

mod_ircd: Scrub invalid UTF-8 sequences, welcome message
author Kim Alvefur <zash@zash.se>
date Tue, 01 Nov 2011 19:18:30 +0100
parents 7331e2669f24
children 99465bbfa205
line wrap: on
line source

#!/bin/sh
JQUERY_VERSION="1.6.2"
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 http://cgit.babelmonkeys.de/cgit.cgi/adhocweb/plain/js/adhoc.js
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)