summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild_tools/bin/mp2
1 files changed, 1 insertions, 1 deletions
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 "#######################################"