comparison mod_admin_web2/admin_web2/get_deps.sh @ 6520:7eb114975cec

mod_admin_web2: Fork of admin_web for prosody 13.0. It is a fork because it changes access rights and might be insecure. Mark as alpha.
author Menel <menel@snikket.de>
date Fri, 24 Apr 2026 12:40:13 +0200
parents mod_admin_web/admin_web/get_deps.sh@127d5452e4bb
children
comparison
equal deleted inserted replaced
6519:01d8bfbfc435 6520:7eb114975cec
1 #!/bin/sh
2 JQUERY_VERSION="1.10.2"
3 STROPHE_VERSION="1.1.2"
4 BOOTSTRAP_VERSION="1.4.0"
5 ADHOC_COMMITISH="87bfedccdb91e2ff7cfb165e989e5259c155b513"
6
7 cd www_files/js
8
9 rm -f jquery-$JQUERY_VERSION.min.js
10 wget http://code.jquery.com/jquery-$JQUERY_VERSION.min.js || exit 1
11
12 rm -f adhoc.js
13 wget -O adhoc.js "http://git.babelmonkeys.de/?p=adhocweb.git;a=blob_plain;f=js/adhoc.js;hb=$ADHOC_COMMITISH" || exit 1
14
15 rm -f strophe.min.js
16 wget https://raw.github.com/strophe/strophe.im/gh-pages/strophejs/downloads/strophejs-$STROPHE_VERSION.tar.gz &&
17 tar xzf strophejs-$STROPHE_VERSION.tar.gz strophejs-$STROPHE_VERSION/strophe.min.js &&
18 mv strophejs-$STROPHE_VERSION/strophe.min.js . &&
19 rm -r strophejs-$STROPHE_VERSION strophejs-$STROPHE_VERSION.tar.gz || exit 1
20
21 cd ../css
22 rm -f bootstrap-$BOOTSTRAP_VERSION.min.css
23 wget https://raw.github.com/twbs/bootstrap/v$BOOTSTRAP_VERSION/bootstrap.min.css -O bootstrap-$BOOTSTRAP_VERSION.min.css || exit 1