You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
Index: locate/updatedb.sh
|
|
|
|
|
--- locate/updatedb.sh.orig 2005-06-19 11:11:59 +0200
|
|
|
|
|
+++ locate/updatedb.sh 2005-06-21 20:59:47 +0200
|
|
|
|
|
@@ -136,6 +136,7 @@
|
|
|
|
|
: ${LOCATE_DB=@LOCATE_DB@}
|
|
|
|
|
|
|
|
|
|
# Directory to hold intermediate files.
|
|
|
|
|
+if [ ".$TMPDIR" = . ]; then
|
|
|
|
|
if test -d /var/tmp; then
|
|
|
|
|
: ${TMPDIR=/var/tmp}
|
|
|
|
|
elif test -d /usr/tmp; then
|
|
|
|
|
@@ -143,7 +144,7 @@
|
|
|
|
|
else
|
|
|
|
|
: ${TMPDIR=/tmp}
|
|
|
|
|
fi
|
|
|
|
|
-export TMPDIR
|
|
|
|
|
+fi
|
|
|
|
|
|
|
|
|
|
# The user to search network directories as.
|
|
|
|
|
: ${NETUSER=daemon}
|