seafile_ynh/conf/upgrade_4.1.1.exp

14 lines
256 B
Text
Raw Normal View History

2015-03-25 19:14:18 +01:00
#!/usr/bin/expect
set timeout 5
set mysql_password [lindex $argv 0]
2015-08-24 20:45:36 +02:00
spawn /var/www/seafile/seafile-server-4.3.1/upgrade/upgrade_4.0_4.1.sh
2015-03-25 19:14:18 +01:00
expect "to contiune"
send "\r";
expect "What is the root password for mysql?"
send "$mysql_password\r";
interact