1
0
mirror of https://github.com/myvesta/vesta.git synced 2025-03-12 04:35:23 -07:00

fixed v_change_web_domain_ip

This commit is contained in:
Serghey Rodin 2011-09-20 00:18:10 +03:00
parent a2838f4bd7
commit fbc3332b10

@ -231,7 +231,7 @@ change_domain_ip() {
tpl_file="$5"
# Get ServerName line
serv_line=$(grep -n 'ServerName %domain%' "$tpl_file" |cut -f 1 -d :)
serv_line=$(grep -n 'ServerName %domain_idn%' "$tpl_file" |cut -f 1 -d :)
# Get tpl_file last line
last_line=$(wc -l $tpl_file|cut -f 1 -d ' ')