diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/findutils.xml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chapter06/findutils.xml b/chapter06/findutils.xml index 85874e356..db2485a73 100644 --- a/chapter06/findutils.xml +++ b/chapter06/findutils.xml @@ -19,12 +19,11 @@ consulting a previously set up database.</para> <para>Prepare Findutils for compilation:</para> -<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate</userinput></screen> +<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/locate \ + --localstatedir=/var/lib/misc</userinput></screen> -<para>The default location for the <emphasis>locate</emphasis> database is -<filename>/usr/var</filename>. To make the location of this database -FHS-compliant, add <emphasis>--localstatedir=/var/lib/misc</emphasis> -to the above configure options.</para> +<para>The localstatedir directive above changes the location of the locate +database to be in /var/lib/misc, which is FHS-compliant.</para> <para>Compile the package:</para> |