fix: dpkg software issue
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
expect <<EOF
|
||||
set timeout 10
|
||||
spawn dpkg -i --force-all ${2}
|
||||
expect <<EOF
|
||||
set timeout ${1}
|
||||
spawn dpkg -i --force-all ${3}
|
||||
expect {
|
||||
"y/n" { send "${1}\n";exp_continue }
|
||||
"y/n" { send "${2}\n";exp_continue }
|
||||
}
|
||||
EOF
|
||||
Reference in New Issue
Block a user