Feat: Fügt Skripte zum aufsetzen von Debian 12 (Bookworm) hinzu.

This commit is contained in:
2025-03-09 20:52:44 +01:00
parent 0f41183342
commit 876866f740
12 changed files with 834 additions and 0 deletions

26
3_HyprlandInstall.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/bash
# Repository-Pfad definieren
REPO_DIR="$HOME/Debian-Hyprland"
# Falls das Repository bereits existiert, überspringen
if [ -d "$REPO_DIR" ]; then
echo "Repository existiert bereits. Aktualisiere stattdessen..."
cd "$REPO_DIR" || { echo "Fehler: Konnte nicht in das Verzeichnis wechseln!"; exit 1; }
git pull
else
echo "Klonen des Repositories..."
git clone --depth=1 https://github.com/JaKooLit/Debian-Hyprland.git "$REPO_DIR" || { echo "Fehler beim Klonen!"; exit 1; }
cd "$REPO_DIR" || { echo "Fehler: Konnte nicht in das Verzeichnis wechseln!"; exit 1; }
fi
# Sicherstellen, dass das Installationsskript existiert und ausführbar ist
if [ -f "install.sh" ]; then
chmod +x install.sh
echo "Starte Installation..."
./install.sh
else
echo "Fehler: install.sh nicht gefunden!"
exit 1
fi