This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # author: com/github/dualvtable (fixed & hardened for R620 / CUDA 13.x using AI assisted tools trained on CUDA docs) | |
| set -euo pipefail | |
| export DEBIAN_FRONTEND=noninteractive | |
| check_root() { | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "This installer must be run as root." >&2 |