Comparison

mod_admin_web/admin_web/get_deps.sh @ 571:817322323fea

mod_admin_web: Add bootstrap to get_deps.sh
author Matthew Wild <mwild1@gmail.com>
date Tue, 17 Jan 2012 16:05:47 +0000
parent 547:f0ef6e285d69
child 573:c9955858dc7e
comparison
equal deleted inserted replaced
570:390d995bedcf 571:817322323fea
1 #!/bin/sh 1 #!/bin/sh
2 JQUERY_VERSION="1.7.1" 2 JQUERY_VERSION="1.7.1"
3 STROPHE_VERSION="1.0.2" 3 STROPHE_VERSION="1.0.2"
4 BOOTSTRAP_VERSION="1.4.0"
4 cd www_files/js 5 cd www_files/js
5 test -e jquery-$JQUERY_VERSION.min.js || wget http://code.jquery.com/jquery-$JQUERY_VERSION.min.js 6 test -e jquery-$JQUERY_VERSION.min.js || wget http://code.jquery.com/jquery-$JQUERY_VERSION.min.js
6 test -e adhoc.js || wget -O adhoc.js "http://cgit.babelmonkeys.de/cgit.cgi/adhocweb/plain/js/adhoc.js?id=e55b23864a9911c15d930b43ed9afe1df5943bf7" 7 test -e adhoc.js || wget -O adhoc.js "http://cgit.babelmonkeys.de/cgit.cgi/adhocweb/plain/js/adhoc.js?id=e55b23864a9911c15d930b43ed9afe1df5943bf7"
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) 8 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)
9 cd ../css
10 test -e bootstrap-$BOOTSTRAP_VERSION.min.css || wget http://twitter.github.com/bootstrap/$BOOTSTRAP_VERSION/bootstrap.min.css -O bootstrap-$BOOTSTRAP_VERSION.min.css