diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-11-17 15:13:29 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-11-17 15:13:29 +0100 |
commit | ceb7098a3a088cdf20d1da74240d47e426db8859 (patch) | |
tree | 0a1c47a5e8eabb0aeaa1636ab0442938c51fc1a5 /xlocate | |
parent | 71b70720c1f34d9a8cc50206b2a40f1d7d44dbeb (diff) | |
download | xtools-ceb7098a3a088cdf20d1da74240d47e426db8859.tar.gz xtools-ceb7098a3a088cdf20d1da74240d47e426db8859.tar.xz xtools-ceb7098a3a088cdf20d1da74240d47e426db8859.zip |
xlocate: force using glocate from findutils. v0.31
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 "$@" | |