From edb83a773085e2fd273f6f8d547748fe6127820d Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sun, 7 Jun 2009 21:32:23 -0500 Subject: mp: modify mp to look for exact pkgname. This will cut down on the false postives. for instance mythtv-vdpau vs mythtv Signed-off-by: James Meyer --- build_tools/bin/mp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_tools/bin/mp b/build_tools/bin/mp index 151980c..5194d75 100755 --- a/build_tools/bin/mp +++ b/build_tools/bin/mp @@ -124,7 +124,7 @@ function dup_check { do if [ ! $i$PFIX = $REPO ] then - out=`pacman -Sl $i$PFIX|grep $pkgname` + out=`pacman -Sl $i$PFIX|cut -d" " -f2 |grep $pkgname$` if [ $? = 0 ] then echo "#######################################" -- cgit v0.12