update_package: match only whole feeds name.

if there was a feed name that ended in the same string as another feed
the script got confused. Now only match full name.
This commit is contained in:
Kenneth Johansson 2018-10-04 18:17:31 +02:00
parent 2b207f1830
commit a41267e62e

View file

@ -441,7 +441,7 @@ check_packages()
feeds_hash()
{
grep -v "^#" feeds.conf | grep "$1 " | grep "\^" | sed -e "s/.*[;^]\(.*\)/\1/"
grep -v "^#" feeds.conf | grep " $1 " | grep "\^" | sed -e "s/.*[;^]\(.*\)/\1/"
}
insert_feed_hash_in_feeds_config()