diff options
author | davidovski <david@davidovski.xyz> | 2022-05-31 17:47:44 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-31 17:47:44 +0100 |
commit | 4bac1f97b9990e70d71639ed1678a4256cc26098 (patch) | |
tree | 67500bfe9f22454328114327afe5cf8f92b1c717 /src/query.sh | |
parent | 9752813e90d663aab55c33d3877886a9013f36db (diff) |
added default cmd option
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 14d9adf..17f0c57 100644 --- a/src/query.sh +++ b/src/query.sh @@ -35,7 +35,7 @@ files () { file_info () { for file in $@; do [ ! -f ${SYSROOT}$file ] && file=$(realpath $file) - for pkg in $(list_installed); do + for pkg in $(installed); do for list in ${INSTALLED_DIR}/$pkg/files; do grep -q ^${file}$ $list && printf "${LIGHT_BLUE}%s${BLUE} belongs to ${LIGHT_BLUE}%s${RESET}\n" $file $pkg |