fix: dpkg ims software

This commit is contained in:
2024-01-16 19:07:46 +08:00
parent 931249312b
commit ca21e901fd
4 changed files with 27 additions and 2 deletions

9
misc/spawndpkg.sh Normal file
View 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