1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pgadmin_ynh.git synced 2024-09-03 19:56:38 +02:00
pgadmin_ynh/conf/setup.exp

21 lines
269 B
Text
Raw Normal View History

2017-11-16 21:10:21 +01:00
#!/usr/bin/expect
2017-12-24 00:21:02 +01:00
set timeout 20
2017-11-16 21:10:21 +01:00
set cmd [lindex $argv 0]
set path [lindex $argv 1]
spawn $cmd $path
expect "Email address:"
2024-01-31 12:17:37 +01:00
send "__EMAIL__\r";
2017-11-16 21:10:21 +01:00
expect "Password:"
2024-01-30 16:22:11 +01:00
send {__PASSWORD__};
2018-01-30 12:44:58 +01:00
send "\r";
2017-11-16 21:10:21 +01:00
expect "Retype password:"
2024-01-30 16:22:11 +01:00
send {__PASSWORD__};
2018-01-30 12:44:58 +01:00
send "\r";
2017-11-16 21:10:21 +01:00
interact