From a41267e62e36db3d8f359b9df95351abcd43fe59 Mon Sep 17 00:00:00 2001 From: Kenneth Johansson Date: Thu, 4 Oct 2018 18:17:31 +0200 Subject: [PATCH] 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. --- iop/scripts/update_package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iop/scripts/update_package.sh b/iop/scripts/update_package.sh index e65755aa9..3a039a4fd 100755 --- a/iop/scripts/update_package.sh +++ b/iop/scripts/update_package.sh @@ -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()