diff options
Diffstat (limited to 'xlocate')
-rwxr-xr-x | xlocate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlocate b/xlocate index e34bda3..85513a8 100755 --- a/xlocate +++ b/xlocate @@ -25,7 +25,7 @@ if [ -e "$XLOCATE_DB" ]; then *[*+\\\[\]^$]*) rx=-r;; esac # XXX also matches template in package name. - locate $rx -d "$XLOCATE_DB" "$1" | + glocate $rx -d "$XLOCATE_DB" "$1" | sed 's|^\([^/]*\)-[^-/]*/|\1\t/|' else xbps-query --regex -Ro "$@" | |