Feat: Passt das Skript für Arch an.

This commit is contained in:
DragonSlayer_14 2025-03-26 11:46:59 +01:00
parent 861eb87522
commit 2b76159f7d
2 changed files with 9 additions and 31 deletions

9
2_HyprlandInstall.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
# Root-Rechte prüfen
if [ "$(id -u)" -eq 0 ]; then
echo "❌ Bitte nicht als root ausführen! Das Skript nutzt sudo, falls nötig."
exit 1
fi
sh <(curl -L https://raw.githubusercontent.com/JaKooLit/Arch-Hyprland/main/auto-install.sh)

View File

@ -1,31 +0,0 @@
#!/bin/bash
# Root-Rechte prüfen
if [ "$(id -u)" -eq 0 ]; then
echo "❌ Bitte nicht als root ausführen! Das Skript nutzt sudo, falls nötig."
exit 1
fi
# Repository-Pfad definieren
REPO_DIR="/tmp/Debian-Hyprland"
# Falls das Repository bereits existiert, überspringen
if [ -d "$REPO_DIR" ]; then
echo " Repository existiert bereits. Überspringe das klonen..."
else
echo " Klonen des Repositories..."
git clone --depth=1 https://github.com/JaKooLit/Debian-Hyprland.git "$REPO_DIR" || { echo "Fehler beim Klonen!"; exit 1; }
fi
# In das Verzeichnis wechseln
cd "$REPO_DIR" || { echo "❌ Fehler: Konnte nicht in das Verzeichnis wechseln!"; exit 1; }
# 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