Changeset

768:af06e69c807a

mod_admin_web: Update dependency versions
author Florian Zeitz <florob@babelmonkeys.de>
date Thu, 02 Aug 2012 20:44:40 +0200
parents 767:e5667f1da6bf
children 769:7076f58b9f48
files mod_admin_web/admin_web/get_deps.sh mod_admin_web/admin_web/www_files/index.html
diffstat 2 files changed, 16 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/mod_admin_web/admin_web/get_deps.sh	Thu Aug 02 00:28:33 2012 +0200
+++ b/mod_admin_web/admin_web/get_deps.sh	Thu Aug 02 20:44:40 2012 +0200
@@ -1,10 +1,20 @@
 #!/bin/sh
-JQUERY_VERSION="1.7.1"
+JQUERY_VERSION="1.7.2"
 STROPHE_VERSION="1.0.2"
 BOOTSTRAP_VERSION="1.4.0"
+ADHOC_COMMITISH="87bfedccdb91e2ff7cfb165e989e5259c155b513"
+
 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=a4c0f5025877f4858576dba28bbb461f0581a5d1"
-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)
+
+rm -f jquery-$JQUERY_VERSION.min.js
+wget http://code.jquery.com/jquery-$JQUERY_VERSION.min.js
+
+rm -f adhoc.js
+wget -O adhoc.js "http://cgit.babelmonkeys.de/cgit.cgi/adhocweb/plain/js/adhoc.js?id=$ADHOC_COMMITISH"
+
+rm -f 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
+
 cd ../css
-test -e bootstrap-$BOOTSTRAP_VERSION.min.css || wget http://twitter.github.com/bootstrap/$BOOTSTRAP_VERSION/bootstrap.min.css -O bootstrap-$BOOTSTRAP_VERSION.min.css
+rm -f bootstrap-$BOOTSTRAP_VERSION.min.css
+wget http://twitter.github.com/bootstrap/$BOOTSTRAP_VERSION/bootstrap.min.css -O bootstrap-$BOOTSTRAP_VERSION.min.css
--- a/mod_admin_web/admin_web/www_files/index.html	Thu Aug 02 00:28:33 2012 +0200
+++ b/mod_admin_web/admin_web/www_files/index.html	Thu Aug 02 20:44:40 2012 +0200
@@ -7,7 +7,7 @@
 <link rel="stylesheet" type="text/css" href="css/bootstrap-1.4.0.min.css" />
 <link rel="stylesheet" type="text/css" href="css/style.css" />
 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
-<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
+<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
 <script type="text/javascript" src="js/strophe.min.js"></script>
 <script type="text/javascript" src="js/adhoc.js"></script>
 <script type="text/javascript" src="js/main.js"></script>