fix: change expect option to y
This commit is contained in:
@@ -20,7 +20,7 @@ case "${extension}" in
|
|||||||
spawn dpkg -i --force-all "$filename"
|
spawn dpkg -i --force-all "$filename"
|
||||||
set timeout ${duration}
|
set timeout ${duration}
|
||||||
expect {
|
expect {
|
||||||
"y/n" { send "n\n"; exp_continue }
|
"y/n" { send "y\n"; exp_continue }
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
@@ -32,7 +32,7 @@ EOF
|
|||||||
spawn rpm -Uvh "$filename"
|
spawn rpm -Uvh "$filename"
|
||||||
set timeout ${duration}
|
set timeout ${duration}
|
||||||
expect {
|
expect {
|
||||||
"y/n" { send "n\n"; exp_continue }
|
"y/n" { send "y\n"; exp_continue }
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ case "${extension}" in
|
|||||||
spawn dpkg -i --force-all "$filename"
|
spawn dpkg -i --force-all "$filename"
|
||||||
set timeout ${duration}
|
set timeout ${duration}
|
||||||
expect {
|
expect {
|
||||||
"y/n" { send "n\n"; exp_continue }
|
"y/n" { send "y\n"; exp_continue }
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
@@ -32,7 +32,7 @@ EOF
|
|||||||
spawn rpm -Uvh --oldpackage "$filename"
|
spawn rpm -Uvh --oldpackage "$filename"
|
||||||
set timeout ${duration}
|
set timeout ${duration}
|
||||||
expect {
|
expect {
|
||||||
"y/n" { send "n\n"; exp_continue }
|
"y/n" { send "y\n"; exp_continue }
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user