5b85596a46
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>
12 lines
395 B
Bash
Executable File
12 lines
395 B
Bash
Executable File
#!/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"
|