From 47b419dd98eec4e30db643b86a5584adf870852c Mon Sep 17 00:00:00 2001 From: Stefan Strigler Date: Thu, 8 Jan 2026 14:51:10 +0100 Subject: [PATCH] add script to download landing page deps --- tools/dl_invites_page_deps.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 tools/dl_invites_page_deps.sh diff --git a/tools/dl_invites_page_deps.sh b/tools/dl_invites_page_deps.sh new file mode 100755 index 000000000..25883e518 --- /dev/null +++ b/tools/dl_invites_page_deps.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +if [ "$#" -ne 1 ]; then + echo "Usage: $0 " + exit 1 +fi +install_dir="$1" + +mkdir -p "$install_dir/jquery" +curl -s -o "$install_dir/jquery/jquery.min.js" https://code.jquery.com/jquery-3.7.1.min.js + +curl -L -s -o /tmp/bootstrap4.zip https://github.com/twbs/bootstrap/releases/download/v4.6.2/bootstrap-4.6.2-dist.zip +unzip -d "$install_dir" /tmp/bootstrap4.zip +mv "$install_dir/bootstrap-4.6.2-dist" "$install_dir/bootstrap4" +rm /tmp/bootstrap4.zip +echo "landing page dependencies for mod_invites installed to $install_dir"