2017-09-30 15:07:56 +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.1_6.2.sh
|
2017-09-30 15:07:56 +02:00
|
|
|
|
|
|
|
expect "to contiune"
|
|
|
|
send "\r";
|
|
|
|
|
|
|
|
interact
|