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
|
set -- $namever
|
||||||
name=$1
|
name=$1
|
||||||
ver=$2
|
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}"
|
dpkg -L $name > "${tmpdir}/${name}=${ver}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue