Răsfoiți Sursa

Aligned installer with 0.9.7-20 release

Serghey Rodin 13 ani în urmă
părinte
comite
d1ee9b8d1a
1 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  1. 3 2
      install/vst-install.sh

+ 3 - 2
install/vst-install.sh

@@ -717,7 +717,7 @@ fi
 $VESTA/bin/v-change-user-shell admin bash
 $VESTA/bin/v-change-user-shell admin bash
 
 
 # Configure mysql host
 # Configure mysql host
-$VESTA/bin/v-add-database-server mysql localhost 3306 root $mpass
+$VESTA/bin/v-add-database-server mysql localhost root $mpass
 $VESTA/bin/v-add-database admin default default $(gen_pass) mysql
 $VESTA/bin/v-add-database admin default default $(gen_pass) mysql
 
 
 # Configuring system ips
 # Configuring system ips
@@ -798,7 +798,8 @@ Sincerely yours
 vestacp.com team
 vestacp.com team
 " > $tmpfile
 " > $tmpfile
 
 
-cat $tmpfile | mail -s "Vesta Control Panel" $email
+send_mail="$VESTA/web/inc/mail-wrapper.php"
+cat $tmpfile | $send_mail -s "Vesta Control Panel" $email
 rm -f $tmpfile
 rm -f $tmpfile
 
 
 # Congrats
 # Congrats