diff options
Diffstat (limited to 'xlocate')
-rwxr-xr-x | xlocate | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlocate b/xlocate index 6600a60..2282538 100755 --- a/xlocate +++ b/xlocate @@ -1,7 +1,8 @@ #!/bin/sh # xlocate [-g | -S | PATTERN] - locate files in all XBPS packages -: ${XLOCATE_GIT:=~/.cache/xlocate.git} +: ${XDG_CACHE_HOME:=~/.cache} +: ${XLOCATE_GIT:=$XDG_CACHE_HOME/xlocate.git} : ${XLOCATE_REPO:=https://alpha.de.repo.voidlinux.org/xlocate/xlocate.git} if command -v pv >/dev/null; then |