From cca02fad39daeacab0c8794c83adaada558ba0d8 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Fri, 22 Sep 2017 15:18:47 +0800 Subject: [PATCH] updated --- installpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installpkg b/installpkg index 1d95973..0a4f78a 100755 --- a/installpkg +++ b/installpkg @@ -222,7 +222,7 @@ upcheckconflict() { while IFS=' ' read -r line; do pushd $ROOT_DIR if [ -e "$line" ]; then - if [ ! "$(grep -w "$line" "$INDEX_DIR/$name/.files")" ]; then + if [ ! "$(grep -Fx "$line" "$INDEX_DIR/$name/.files")" ]; then fileconflict+=(${line}) fi fi