mirror of
https://github.com/myvesta/vesta
synced 2025-08-02 21:04:42 -07:00
fixed v_change_web_domain_ip
This commit is contained in:
parent
a2838f4bd7
commit
fbc3332b10
1 changed files with 1 additions and 1 deletions
|
@ -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 ' ')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue