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

22 lines
303 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]
set user [lindex $argv 2]
spawn $cmd $path
expect "Email address:"
send "$user\r";
expect "Password:"
2018-01-30 12:44:58 +01:00
send {__ADMIN_PASSWORD__};
send "\r";
2017-11-16 21:10:21 +01:00
expect "Retype password:"
2018-01-30 12:44:58 +01:00
send {__ADMIN_PASSWORD__};
send "\r";
2017-11-16 21:10:21 +01:00
interact