[SCM] live-build branch, debian, updated. debian/3.0_a25-1-57-g6167d10

Daniel Baumann daniel at debian.org
Thu Aug 4 19:53:15 UTC 2011


The following commit has been merged in the debian branch:
commit 9a6ae81a076c04355f26bc6692394315ac603b44
Author: Daniel Baumann <daniel at debian.org>
Date:   Mon Jul 18 15:28:32 2011 +0200

    Adding hook for calling update.mlocate, thanks to Colin Watson <cjwatson at ubuntu.com> (Closes: #627332).

diff --git a/share/hooks/update-mlocate-database.chroot b/share/hooks/update-mlocate-database.chroot
new file mode 100755
index 0000000..6bfdb3d
--- /dev/null
+++ b/share/hooks/update-mlocate-database.chroot
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+# Update the mlocate database.
+#
+# It is convenient for this to be already up to date on the live system, and it
+# means that if the live system is later installed to a hard disk then less
+# work will be required after installation.
+
+if [ -x /usr/bin/updatedb.mlocate ]
+then
+	updatedb.mlocate
+fi

-- 
live-build



More information about the debian-live-changes mailing list