escape_sql
This commit is contained in:
parent
797fed06fd
commit
2e64b8a5c7
@ -31,6 +31,10 @@ Pin: origin repo.powerdns.com
|
|||||||
Pin-Priority: 600
|
Pin-Priority: 600
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
escape_sql() {
|
||||||
|
printf '%s' "$1" | sed "s/'/''/g"
|
||||||
|
}
|
||||||
|
|
||||||
msg_info "Setting up PowerDNS"
|
msg_info "Setting up PowerDNS"
|
||||||
$STD apt install -y pdns-server \
|
$STD apt install -y pdns-server \
|
||||||
pdns-backend-sqlite3
|
pdns-backend-sqlite3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user