From 0e4032d800a53b4431ac351f9d6d6d852cb6c060 Mon Sep 17 00:00:00 2001 From: akirasupr Date: Sat, 4 Dec 2021 03:07:43 +0530 Subject: [PATCH] post-fs-data: fix --- post-fs-data.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post-fs-data.sh b/post-fs-data.sh index 1ae2aec..836120c 100755 --- a/post-fs-data.sh +++ b/post-fs-data.sh @@ -1,6 +1,6 @@ #!/system/bin/sh module=/data/adb/modules/ -conflict=$(find /data/adb -iname "*.prop") +conflict=$(find /data/adb -not -path -iname "*.prop") for i in $conflict; do search=$(echo "$i" | sed -e 's/\// /g' | awk '{print $4}') if grep -q 'model' $i 2>/dev/null; then