diff options
author | davidovski <david@davidovski.xyz> | 2022-04-09 17:53:55 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-04-09 17:53:55 +0100 |
commit | bc4902d4c702d9beac47e975dd962851a59dace5 (patch) | |
tree | 061a347190a57558c299bda389d1f92ec614fb0a /src/query.sh | |
parent | 3c8b781a437e8f2b7721d2afcf4ccf714d382d83 (diff) |
fixed broken permisisons for bootstrap
Diffstat (limited to 'src/query.sh')
-rw-r--r-- | src/query.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/query.sh b/src/query.sh index 8ae9588..dc3846c 100644 --- a/src/query.sh +++ b/src/query.sh @@ -29,7 +29,7 @@ file_info () { [ ! -f ${SYSROOT}$file ] && file=$(realpath $file) for pkg in $(list_installed); do for list in ${INSTALLED_DIR}/$pkg/files; do - grep -q $file $list && + grep -q ^${file}$ $list && printf "${LIGHT_BLUE}%s${BLUE} belongs to ${LIGHT_BLUE}%s${RESET}\n" $file $pkg done done |