__package_pip: match package names case insensitive
Pip matches them insensitive, so we need to do the same to avoid problems by saying extras are not installed but already is there in place.
This commit is contained in:
parent
951712740f
commit
2ce1fce767
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,8 @@ then
|
||||||
|
|
||||||
# echo the extra if no packages where found for it
|
# echo the extra if no packages where found for it
|
||||||
# if there is no pattern, we don't need to search ;-)
|
# if there is no pattern, we don't need to search ;-)
|
||||||
if [ "$grep_pattern" ] && ! grep -q "$grep_pattern" "$pip_freeze"
|
# pip matches packages case-insensetive, we need to do that, too
|
||||||
|
if [ "$grep_pattern" ] && ! grep -qi "$grep_pattern" "$pip_freeze"
|
||||||
then
|
then
|
||||||
echo "$extra"
|
echo "$extra"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue