From 471c36fa91710d91002f4fdb31305651e27ccbf3 Mon Sep 17 00:00:00 2001 From: lolwierd Date: Mon, 30 Mar 2026 16:32:12 +0530 Subject: [PATCH] Revert "refactor: remove caddy installation from multiple app install scripts" This reverts commit 4b4d04ed3d66e564a1eb43e92f539e9cbaaf575e. --- erpnext/install.sh | 2 ++ ghost/install.sh | 2 +- gitea/install.sh | 1 + jellyfin/install.sh | 1 + metabase/install.sh | 2 +- n8n/install.sh | 2 +- nocodb/install.sh | 2 +- open-webui/install.sh | 2 +- openclaw/install.sh | 2 +- picoclaw/install.sh | 2 +- plausible/install.sh | 2 +- signoz/install.sh | 2 +- uptime-kuma/install.sh | 2 +- vaultwarden/install.sh | 2 +- 14 files changed, 15 insertions(+), 11 deletions(-) diff --git a/erpnext/install.sh b/erpnext/install.sh index 6c6b3a8..becd03e 100644 --- a/erpnext/install.sh +++ b/erpnext/install.sh @@ -21,6 +21,8 @@ STATE_DIR="${ERPNEXT_DIR}/.excloud" COMPOSE_FILE="${ERPNEXT_DIR}/pwd.yml" ADMIN_PASSWORD_FILE="${STATE_DIR}/admin-password" +apt-get install -y caddy git openssl + if git -C "${ERPNEXT_DIR}" rev-parse 2>/dev/null; then echo "Git repo exists" else diff --git a/ghost/install.sh b/ghost/install.sh index a9e51b2..9c86e28 100644 --- a/ghost/install.sh +++ b/ghost/install.sh @@ -19,7 +19,7 @@ fi GHOST_DIR="${APP_DIR}/${APP_NAME}" - +apt-get install -y caddy git openssl if [ ! -d "${GHOST_DIR}/.git" ]; then git clone "${REPO_URL}" "${GHOST_DIR}" diff --git a/gitea/install.sh b/gitea/install.sh index 7b2c904..ca10dcc 100644 --- a/gitea/install.sh +++ b/gitea/install.sh @@ -19,6 +19,7 @@ fi GITEA_DIR="${APP_DIR}/${APP_NAME}" COMPOSE_FILE="${GITEA_DIR}/docker-compose.yml" +apt-get install -y caddy mkdir -p "${GITEA_DIR}" cat > "${COMPOSE_FILE}" < "${COMPOSE_FILE}" < "${COMPOSE_FILE}" < "${COMPOSE_FILE}" </dev/null; then echo "Git repo exists" diff --git a/uptime-kuma/install.sh b/uptime-kuma/install.sh index 3d2bb51..46f4c8e 100644 --- a/uptime-kuma/install.sh +++ b/uptime-kuma/install.sh @@ -19,7 +19,7 @@ fi UPTIME_KUMA_DIR="${APP_DIR}/${APP_NAME}" COMPOSE_FILE="${UPTIME_KUMA_DIR}/docker-compose.yml" - +apt-get install -y caddy mkdir -p "${UPTIME_KUMA_DIR}" cat > "${COMPOSE_FILE}" < "${COMPOSE_FILE}" <