From 8adb294bc77c5e2bb36b535d9c1221c057d9d991 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Wed, 6 May 2026 02:06:41 +0200 Subject: [PATCH] asdasd --- .gitea/workflows/deploy.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 69e436d..a80ed7a 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -19,9 +19,21 @@ jobs: uses: actions/checkout@v4 - name: Install lftp + shell: sh run: | - apt-get update - apt-get install -y lftp ca-certificates + if command -v lftp >/dev/null 2>&1; then + echo "✅ lftp bereits installiert" + elif command -v apk >/dev/null 2>&1; then + echo "📦 Installiere via apk" + apk add --no-cache lftp ca-certificates + elif command -v apt-get >/dev/null 2>&1; then + echo "📦 Installiere via apt-get" + apt-get update + apt-get install -y lftp ca-certificates + else + echo "❌ Kein unterstützter Paketmanager gefunden" + exit 1 + fi - name: Set environment run: |