seafile_ynh/scripts/expect_scripts/upgrade_4.1.1.exp
2018-08-14 10:31:03 +02:00

15 lines
No EOL
264 B
Text

#!/usr/bin/expect
set timeout 5
set seafile_dir [lindex $argv 0]
set mysql_password [lindex $argv 1]
spawn $seafile_dir/upgrade/upgrade_4.0_4.1.sh
expect "to contiune"
send "\r";
expect "What is the root password for mysql?"
send "$mysql_password\r";
interact