Last active 2 months ago
0
0
1
| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | # Pulls the live package list from the official Arch Linux HedgeDoc note. |
| 4 | LIST_URL="https://md.archlinux.org/s/SxbqukK6IA" |
| 5 | |
| 6 | echo "Fetching infected package list..." |
| 7 | |
| 8 | raw=$(curl -fsSL "$LIST_URL") || { echo "ERROR: failed to fetch $LIST_URL"; exit 1; } |
| 9 | |
| 10 | # Extract lines that look like package names only (lowercase, digits, dots, plus, underscore, hyphen) |