bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: --findoptions no


From: Karl Berry
Subject: Re: --findoptions no
Date: Mon, 31 Mar 2008 13:14:35 -0500

    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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]