mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
6e232e7a26
Former-commit-id: 09d8c9e62a
14 lines
No EOL
256 B
Text
14 lines
No EOL
256 B
Text
#!/usr/bin/expect
|
|
set timeout 5
|
|
|
|
set mysql_password [lindex $argv 0]
|
|
|
|
spawn /var/www/seafile/seafile-server-4.3.2/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 |