From 03a6dbc6c0d3c2d38fa69cb21d93f5aa0ae01a1b Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 4 Jun 2022 12:06:41 +0100 Subject: fixed [installed] appearing during updates --- src/query.sh | 4 ++-- src/xi.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 } diff --git a/src/xi.sh b/src/xi.sh index 589a564..8dd848c 100755 --- a/src/xi.sh +++ b/src/xi.sh @@ -165,7 +165,7 @@ else shift checkroot - [ "$#" = "0" ] && set -- $(list_installed) + [ "$#" = "0" ] && set -- $(installed) build $@ ;; -- cgit v1.2.1