2020-04-28 13:57:07 +02:00
|
|
|
#!/usr/bin/expect
|
|
|
|
set timeout 5
|
|
|
|
|
|
|
|
set seafile_dir [lindex $argv 0]
|
|
|
|
|
|
|
|
spawn $seafile_dir/upgrade/upgrade_7.0_7.1.sh
|
|
|
|
|
|
|
|
expect "to contiune"
|
|
|
|
send "\r";
|
|
|
|
|
2021-04-19 18:29:56 +02:00
|
|
|
sleep 10;
|
|
|
|
|
|
|
|
send "\r";
|
|
|
|
|
|
|
|
sleep 1;
|
|
|
|
|
|
|
|
send "\r";
|
|
|
|
|
2020-04-28 13:57:07 +02:00
|
|
|
interact
|