grep for name=ver
This commit is contained in:
parent
d7670774e6
commit
a8f40902f4
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ elif [ "$#" -eq 2 ]; then
|
|||
set -- $namever
|
||||
name=$1
|
||||
ver=$2
|
||||
if grep --line-regexp $namever "${tmpdir}/bdselection.list"; then
|
||||
if grep --line-regexp "${name}=${ver}" "${tmpdir}/bdselection.list"; then
|
||||
dpkg -L $name > "${tmpdir}/${name}=${ver}"
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue