about summary refs log tree commit diff
path: root/xlocate
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-01-22 15:03:20 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2015-01-22 15:03:20 +0100
commit88eee86c6e223d7780db6cf18799ad3b814d0dd8 (patch)
tree51c402b6bf7c89410af31beb88868312e3f649f9 /xlocate
parent6076203ed37170d592d5527648c2f3e8581080d6 (diff)
downloadxtools-88eee86c6e223d7780db6cf18799ad3b814d0dd8.tar.gz
xtools-88eee86c6e223d7780db6cf18799ad3b814d0dd8.tar.xz
xtools-88eee86c6e223d7780db6cf18799ad3b814d0dd8.zip
xlocate: don't autoupdate database
Diffstat (limited to 'xlocate')
-rwxr-xr-xxlocate2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlocate b/xlocate
index 1b3efff..c031086 100755
--- a/xlocate
+++ b/xlocate
@@ -17,7 +17,7 @@ fi
 
 if [ -e "$XLOCATE_DB" ]; then
 	if find /var/db/xbps/ -name '*repodata' -newer "$XLOCATE_DB" | grep -q .; then
-		xupdatedb
+		echo "xlocate: database outdated, please run xlocate -u." 1>&2
 	fi
 	rx=
 	case "$1" in