Commit 299ce5eb authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Build the locate database before going down. I'm tired of locate not

working in our images, damn it!
parent 8f38aab2
......@@ -53,6 +53,14 @@ foreach my $dbfile (@DBFILES) {
}
}
#
# Build the locate database. I hate that its never there!
#
if (-x /usr/libexec/locate.updatedb) {
print "Building the locate database ... Be patient, will ya!\n";
system("/usr/libexec/locate.updatedb");
}
#
# Generate a dumpdates file. Use fstab to find out what filesystems
# need entries, and then put in entries for each filesystem using
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment