Gentoo Archives: gentoo-commits

From: "Naohiro Aota (naota)" <naota@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-freebsd/freebsd-ubin/files: locate-updatedb-cron
Date: Sun, 05 Jan 2014 00:56:48
Message-Id: 20140105005644.D74962004E@flycatcher.gentoo.org
1 naota 14/01/05 00:56:44
2
3 Modified: locate-updatedb-cron
4 Log:
5 Run updatedb with nobody; Generate locate database beforehand. #472468
6
7 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key F8551514)
8
9 Revision Changes Path
10 1.3 sys-freebsd/freebsd-ubin/files/locate-updatedb-cron
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-ubin/files/locate-updatedb-cron?rev=1.3&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-ubin/files/locate-updatedb-cron?rev=1.3&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-ubin/files/locate-updatedb-cron?r1=1.2&r2=1.3
15
16 Index: locate-updatedb-cron
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/files/locate-updatedb-cron,v
19 retrieving revision 1.2
20 retrieving revision 1.3
21 diff -u -r1.2 -r1.3
22 --- locate-updatedb-cron 23 Apr 2006 12:47:21 -0000 1.2
23 +++ locate-updatedb-cron 5 Jan 2014 00:56:44 -0000 1.3
24 @@ -2,5 +2,5 @@
25
26 if [ -x /usr/libexec/locate.updatedb ]
27 then
28 - nice /usr/libexec/locate.updatedb
29 + echo /usr/libexec/locate.updatedb | nice -n 5 su -fm nobody
30 fi