feat: add one-question VPS installer
This commit is contained in:
@@ -52,7 +52,8 @@ scan_network_literals() {
|
||||
[[ -z "$domain" ]] && continue
|
||||
domain="$(printf '%s' "$domain" | tr '[:upper:]' '[:lower:]' | sed 's/[^[:alnum:].-]$//')"
|
||||
case "$domain" in
|
||||
github.com | core.telegram.org | example.com | *.example.com | *.localhost | \
|
||||
github.com | core.telegram.org | download.docker.com | docker.io | containerd.io | \
|
||||
example.com | *.example.com | *.localhost | \
|
||||
*.md | *.sh | *.json | *.yml | *.yaml | *.html | *.go | *.js | \
|
||||
*.gz | *.pem | *.key | *.p12 | *.pfx | *.example) ;;
|
||||
*) report "unexpected hostname $domain in $context$file" ;;
|
||||
@@ -139,7 +140,8 @@ while IFS= read -r revision; do
|
||||
[[ -z "$domain" ]] && continue
|
||||
domain="$(printf '%s' "$domain" | tr '[:upper:]' '[:lower:]' | sed 's/[^[:alnum:].-]$//')"
|
||||
case "$domain" in
|
||||
github.com | core.telegram.org | example.com | *.example.com | *.localhost | \
|
||||
github.com | core.telegram.org | download.docker.com | docker.io | containerd.io | \
|
||||
example.com | *.example.com | *.localhost | \
|
||||
*.md | *.sh | *.json | *.yml | *.yaml | *.html | *.go | *.js | \
|
||||
*.gz | *.pem | *.key | *.p12 | *.pfx | *.example) ;;
|
||||
*) report "unexpected hostname $domain in Git history ${revision:0:12}" ;;
|
||||
|
||||
Reference in New Issue
Block a user