escape_sql

This commit is contained in:
tremor021 2026-02-03 19:13:31 +01:00
parent 797fed06fd
commit 2e64b8a5c7

View File

@ -31,6 +31,10 @@ Pin: origin repo.powerdns.com
Pin-Priority: 600
EOF
escape_sql() {
printf '%s' "$1" | sed "s/'/''/g"
}
msg_info "Setting up PowerDNS"
$STD apt install -y pdns-server \
pdns-backend-sqlite3