|
|
@@ -1,7 +1,7 @@
|
|
|
Index: locate/updatedb.sh
|
|
|
---- locate/updatedb.sh.orig 2005-01-29 18:34:23 +0100
|
|
|
-+++ locate/updatedb.sh 2005-02-11 20:20:27 +0100
|
|
|
-@@ -108,6 +108,7 @@
|
|
|
+--- 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.
|
|
|
@@ -9,7 +9,7 @@ Index: locate/updatedb.sh
|
|
|
if test -d /var/tmp; then
|
|
|
: ${TMPDIR=/var/tmp}
|
|
|
elif test -d /usr/tmp; then
|
|
|
-@@ -115,7 +116,7 @@
|
|
|
+@@ -143,7 +144,7 @@
|
|
|
else
|
|
|
: ${TMPDIR=/tmp}
|
|
|
fi
|
|
|
@@ -18,39 +18,3 @@ Index: locate/updatedb.sh
|
|
|
|
|
|
# The user to search network directories as.
|
|
|
: ${NETUSER=daemon}
|
|
|
-@@ -166,7 +167,7 @@
|
|
|
- if test -n "$SEARCHPATHS"; then
|
|
|
- if [ "$LOCALUSER" != "" ]; then
|
|
|
- # : A1
|
|
|
-- su $LOCALUSER -s $SHELL -c \
|
|
|
-+ su $LOCALUSER -c \
|
|
|
- "$find $SEARCHPATHS $FINDOPTIONS \
|
|
|
- \\( $prunefs_exp \
|
|
|
- -type d -regex '$PRUNEREGEX' \\) -prune -o $print_option"
|
|
|
-@@ -182,7 +183,7 @@
|
|
|
- myuid=`getuid`
|
|
|
- if [ "$myuid" = 0 ]; then
|
|
|
- # : A3
|
|
|
-- su $NETUSER -s $SHELL -c \
|
|
|
-+ su $NETUSER -c \
|
|
|
- "$find $NETPATHS $FINDOPTIONS \\( -type d -regex '$PRUNEREGEX' -prune \\) -o $print_option" ||
|
|
|
- exit $?
|
|
|
- else
|
|
|
-@@ -236,7 +237,7 @@
|
|
|
- if test -n "$SEARCHPATHS"; then
|
|
|
- if [ "$LOCALUSER" != "" ]; then
|
|
|
- # : A5
|
|
|
-- su $LOCALUSER -s $SHELL -c \
|
|
|
-+ su $LOCALUSER -c \
|
|
|
- "$find $SEARCHPATHS $FINDOPTIONS \
|
|
|
- \( $prunefs_exp \
|
|
|
- -type d -regex '$PRUNEREGEX' \) -prune -o $print_option" || exit $?
|
|
|
-@@ -252,7 +253,7 @@
|
|
|
- myuid=`getuid`
|
|
|
- if [ "$myuid" = 0 ]; then
|
|
|
- # : A7
|
|
|
-- su $NETUSER -s $SHELL -c \
|
|
|
-+ su $NETUSER -c \
|
|
|
- "$find $NETPATHS $FINDOPTIONS \\( -type d -regex '$PRUNEREGEX' -prune \\) -o $print_option" ||
|
|
|
- exit $?
|
|
|
- else
|