diff options
author | davidovski <david@davidovski.xyz> | 2022-06-04 12:06:41 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-04 12:06:41 +0100 |
commit | 03a6dbc6c0d3c2d38fa69cb21d93f5aa0ae01a1b (patch) | |
tree | e7e5f02b73eb8258d3e35ea6a6305de422b9f6a6 /src | |
parent | 4526e5a3f28f862dec23d2932b443bc9b530f321 (diff) |
fixed [installed] appearing during updates
Diffstat (limited to 'src')
-rw-r--r-- | src/query.sh | 4 | ||||
-rwxr-xr-x | src/xi.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/query.sh b/src/query.sh index f9f2bcb..5f863a6 100644 --- a/src/query.sh +++ b/src/query.sh @@ -19,9 +19,9 @@ list_installed () { search () { if [ $# = 0 ]; then - list + list_installed else - list | grep $(echo $@ | sed "s/ /\\|/g") + list_installed | grep $(echo $@ | sed "s/ /\\|/g") fi } @@ -165,7 +165,7 @@ else shift checkroot - [ "$#" = "0" ] && set -- $(list_installed) + [ "$#" = "0" ] && set -- $(installed) build $@ ;; |