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