1234567891011121314151617181920212223242526
#!/bin/bash
# Usage: curl -sL tebian.org/install | bash
# For ARM / Pi / existing Debian installs
set -euo pipefail
TEBIAN_DIR="$HOME/Tebian"
TEBIAN_REPO="https://github.com/tebian-os/tebian.git"
echo ""
echo " ┌───────────────┐"
echo " │ T E B I A N │"
echo " └───────────────┘"
echo ""
if [ ! -f /etc/debian_version ]; then
echo "Error: Tebian requires a Debian-based system"
exit 1
fi
if ! command -v git &>/dev/null; then
sudo apt update -qq && sudo apt install -y -qq git
fi
git clone --depth 1 "$TEBIAN_REPO" "$TEBIAN_DIR"
exec bash "$TEBIAN_DIR/bootstrap.sh"