[SCM] live-build branch, debian-next, updated. debian/3.0_a25-1-6-ga200588

Daniel Baumann daniel at debian.org
Mon Jul 18 13:43:34 UTC 2011


The following commit has been merged in the debian-next branch:
commit 7436e5b1d487976c513ae3ea2e3e2cd42ab41152
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.chroot b/share/hooks/update-mlocate.chroot
new file mode 100755
index 0000000..6bfdb3d
--- /dev/null
+++ b/share/hooks/update-mlocate.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