Explorar o código

Aligned installer with 0.9.7-20 release

Serghey Rodin %!s(int64=13) %!d(string=hai) anos
pai
achega
d1ee9b8d1a
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  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