From ceb7098a3a088cdf20d1da74240d47e426db8859 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 17 Nov 2015 15:13:29 +0100 Subject: xlocate: force using glocate from findutils. --- xlocate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlocate') 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 "$@" | -- cgit 1.4.1