Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/ufdbguard/files: ufdbUpdate.cron
Date: Mon, 31 Jan 2011 05:37:46
Message-Id: 20110131053732.76FD32005C@flycatcher.gentoo.org
1 jer 11/01/31 05:37:32
2
3 Modified: ufdbUpdate.cron
4 Log:
5 /etc/cron.daily/ufdbUpdate: line 10: return: can only `return\' from a function or sourced script.
6
7 (Portage version: 2.2.0_alpha19/cvs/Linux i686)
8
9 Revision Changes Path
10 1.2 net-proxy/ufdbguard/files/ufdbUpdate.cron
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/ufdbguard/files/ufdbUpdate.cron?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/ufdbguard/files/ufdbUpdate.cron?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/ufdbguard/files/ufdbUpdate.cron?r1=1.1&r2=1.2
15
16 Index: ufdbUpdate.cron
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/files/ufdbUpdate.cron,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ufdbUpdate.cron 7 Dec 2010 09:11:50 -0000 1.1
23 +++ ufdbUpdate.cron 31 Jan 2011 05:37:32 -0000 1.2
24 @@ -1,13 +1,13 @@
25 #!/bin/sh
26 -# Copyright 1999-2010 Gentoo Foundation
27 +# Copyright 1999-2011 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/files/ufdbUpdate.cron,v 1.1 2010/12/07 09:11:50 flameeyes Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/files/ufdbUpdate.cron,v 1.2 2011/01/31 05:37:32 jer Exp $
31
32 # cron.daily file to update the ufdb database
33
34 # Avoid doing anything if no download user is set in the configuration
35 # file
36 -( . /etc/conf.d/ufdb ; [ -z "${DOWNLOAD_USER}" ]; ) && return 0
37 +( . /etc/conf.d/ufdb ; [ -z "${DOWNLOAD_USER}" ]; ) && exit
38
39 /usr/sbin/ufdbUpdate