I can't think of a way that doesn't involve editing the updatedb
script. Sorry.
(So, some practical examples of --findoptions would seem a good thing to
add to the manual.)
Anyway, so now I'm back to my original request for a customization
option. How about this: a new envvar POSTPRUNE? As in:
*** /usr/local/gnu/bin/updatedb Sat Jan 26 17:00:16 2008
--- /l/bin/updatedb Fri Mar 28 14:32:08 2008
***************
*** 76,81 ****
--- 76,85 ----
fi
fi
+ if test -n "$POSTPRUNE"; then
+ print_option="$POSTPRUNE $print_option"
+ fi
+
getuid() {
# format of "id" output is ...
# uid=1(daemon) gid=1(other)