packages: mlocate/mlocate.cron - exclude "rootfs"
glen
glen at pld-linux.org
Tue Mar 27 19:10:05 CEST 2012
Author: glen Date: Tue Mar 27 17:10:05 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- exclude "rootfs"
---- Files affected:
packages/mlocate:
mlocate.cron (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/mlocate/mlocate.cron
diff -u packages/mlocate/mlocate.cron:1.3 packages/mlocate/mlocate.cron:1.4
--- packages/mlocate/mlocate.cron:1.3 Tue Mar 22 09:00:04 2011
+++ packages/mlocate/mlocate.cron Tue Mar 27 19:10:00 2012
@@ -1,5 +1,5 @@
#!/bin/sh
-nodevs=$(awk '$1 == "nodev" { print $2 }' /proc/filesystems)
+nodevs=$(awk '$1 == "nodev" && $2 != "rootfs" { print $2 }' /proc/filesystems)
renice +19 -p $$ >/dev/null 2>&1
ionice -c2 -n7 -p $$ >/dev/null 2>&1
exec /usr/bin/updatedb -f "$nodevs"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/mlocate/mlocate.cron?r1=1.3&r2=1.4
More information about the pld-cvs-commit
mailing list