Update install.sh with auto-discovery and README with Quick Start

- Enhanced install.sh with script auto-discovery functionality
- Added Quick Start section to README with one-liner commands
- Created update.sh for repository updates
- Resolved merge conflicts from upstream changes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
h0tznpl0tz
2025-09-11 11:58:15 +02:00
co-authored by Claude
parent 5706152a82
commit 6036648d76
3 changed files with 552 additions and 90 deletions
+40 -1
View File
@@ -5,12 +5,14 @@ Hier sammeln wir kleine Helfer für Log-Analysen, Automatisierungen und typische
## Inhaltsverzeichnis
- [Quick Start](#quick-start)
- [Übersicht](#übersicht)
- [Bash-Profile](#bash-profile)
- [Connect Tools](#connect-tools)
- [Legacy Snippets](#legacy-snippets)
- [WH20 Snippets](#wh20-snippets)
- [Installation](#installation)
- [Updates](#updates)
- [How-To: Neues Skript anlegen](#how-to-neues-skript-anlegen)
- [Lizenz / Sichtbarkeit](#lizenz--sichtbarkeit)
@@ -52,6 +54,20 @@ Weitere Snippets für Legacy kommen hier dazu.
*(noch leer, Platzhalter für künftige Snippets)*
---
## Quick Start
**One-liner Installation:**
```bash
git clone http://vps.dominikus.one:3000/ljp/esn-support-bash-snippets.git esn-support-tools && cd esn-support-tools && ./install.sh
```
**One-liner Update:**
```bash
cd esn-support-tools && ./update.sh
```
## Installation
Nach dem Klonen des Repositories steht ein interaktives Installationsscript zur Verfügung:
@@ -59,7 +75,10 @@ Nach dem Klonen des Repositories steht ein interaktives Installationsscript zur
```bash
# Repository klonen
git clone http://vps.dominikus.one:3000/ljp/esn-support-bash-snippets.git
cd esn-support-bash-snippets
# WICHTIG: Repository umbenennen (empfohlen)
mv esn-support-bash-snippets esn-support-tools
cd esn-support-tools
# Installation testen (empfohlen)
./install.sh --dry-run
@@ -71,6 +90,26 @@ cd esn-support-bash-snippets
./install.sh --help
```
> **⚠️ Wichtiger Hinweis zu Symlinks:**
> Das Installationsscript erstellt Symlinks zu den Scripts im **aktuellen Repository-Pfad**.
> Wenn du das Repository später verschiebst oder umbenennst, funktionieren die installierten Tools nicht mehr.
> **Empfehlung:** Repository vor der Installation in einen permanenten Pfad legen (z.B. `~/tools/esn-support-tools`).
## Updates
Für Updates bestehender Installationen:
```bash
# In Repository-Verzeichnis wechseln
cd /pfad/zu/esn-support-tools
# Update testen (empfohlen)
./update.sh --dry-run
# Update durchführen
./update.sh
```
**Features des Installers:**
- **Dry-Run Modus**: `--dry-run` testet Installation ohne Dateiveränderungen
- **Interaktive Auswahl**: Kategorien und einzelne Tools wählbar