Mercurial > prosody-modules
comparison mod_admin_web/admin_web/get_deps.sh @ 2786:127d5452e4bb
mod_admin_web: Extract strophe from tarball without --strip-components (fixes #1013)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 07 Oct 2017 22:52:12 +0200 |
| parents | 7c3c3343365c |
| children |
comparison
equal
deleted
inserted
replaced
| 2785:2023cba9ead0 | 2786:127d5452e4bb |
|---|---|
| 11 | 11 |
| 12 rm -f adhoc.js | 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 | 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 | 14 |
| 15 rm -f strophe.min.js | 15 rm -f strophe.min.js |
| 16 wget https://raw.github.com/strophe/strophe.im/gh-pages/strophejs/downloads/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 || exit 1 | 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 | |
| 17 | 20 |
| 18 cd ../css | 21 cd ../css |
| 19 rm -f bootstrap-$BOOTSTRAP_VERSION.min.css | 22 rm -f bootstrap-$BOOTSTRAP_VERSION.min.css |
| 20 wget https://raw.github.com/twbs/bootstrap/v$BOOTSTRAP_VERSION/bootstrap.min.css -O bootstrap-$BOOTSTRAP_VERSION.min.css || exit 1 | 23 wget https://raw.github.com/twbs/bootstrap/v$BOOTSTRAP_VERSION/bootstrap.min.css -O bootstrap-$BOOTSTRAP_VERSION.min.css || exit 1 |
