diff --git a/setup.sh b/setup.sh index c687223..aa1d70b 100644 --- a/setup.sh +++ b/setup.sh @@ -53,8 +53,8 @@ SUCCESS=0 # Suchreihenfolge: spezifische ID -> Basis ID -> default for TARGET in "$SPECIFIC_ID" "$BASE_ID" "default"; do if [ -n "$TARGET" ] && [ "$SUCCESS" -eq 0 ]; then - if curl -fsSL "${GITEA_RAW}/.zshrc${TARGET}" -o "$HOME/.zshrc"; then - echo "✅ Erfolg mit .zshrc${TARGET}" + if curl -fsSL "${GITEA_RAW}/${TARGET}.zshrc" -o "$HOME/.zshrc"; then + echo "✅ Erfolg mit ${TARGET}.zshrc" SUCCESS=1 fi fi