Split install for non-admin users

The target laptop account has no sudo. install.sh now runs without root once the
system packages exist; if they're missing and the account can't sudo it prints
the exact command and stops. New install-system.sh holds the one-time
"sudo apt install python3-tk python3-venv git" for an admin account.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-07 22:30:03 +02:00
parent 08232bda9b
commit 5b85596a46
4 changed files with 88 additions and 21 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# EINMALIG von einem Konto mit Administrator-Rechten ausführen (Patrick).
# Installiert die System-Pakete, die die App braucht danach kann das
# normale Benutzerkonto ./install.sh ohne sudo ausführen.
set -euo pipefail
sudo apt update
sudo apt install -y python3-tk python3-venv git
echo
echo "System-Pakete installiert. Jetzt als das normale Konto: ./install.sh"