mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-26 04:55:39 +00:00
20 lines
331 B
Bash
Executable File
20 lines
331 B
Bash
Executable File
#!/usr/bin/expect -f
|
|
|
|
# Configure timeout for each expect command
|
|
set timeout 10
|
|
|
|
# Start your main script
|
|
set env(PATH) "$env(WORKING_DIR)/mocks:$env(PATH)"
|
|
|
|
spawn bash ../../noco.sh
|
|
|
|
expect "Do you want to reinstall NocoDB*"
|
|
send "N\r"
|
|
|
|
expect "Enter your choice: "
|
|
send "2\r"
|
|
|
|
expect "Enter your choice: "
|
|
send "0\r"
|
|
|
|
expect EOF |