2017-07-21 14:56:41 +02:00
|
|
|
#!/usr/bin/expect
|
|
|
|
set timeout 5
|
|
|
|
|
|
|
|
set seafile_dir [lindex $argv 0]
|
|
|
|
set mysql_password [lindex $argv 1]
|
|
|
|
|
2017-09-30 17:52:42 +02:00
|
|
|
spawn $seafile_dir/upgrade/upgrade_6.0_6.1.sh
|
2017-07-21 14:56:41 +02:00
|
|
|
|
|
|
|
expect "to contiune"
|
|
|
|
send "\r";
|
|
|
|
|
|
|
|
interact
|