Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-misc/boinc/files: boinc.init
Date: Wed, 02 Sep 2009 16:13:41
Message-Id: E1MixHY-0001wG-RK@stork.gentoo.org
1 scarabeus 09/09/02 21:22:20
2
3 Modified: boinc.init
4 Log:
5 Fix attach function. Per bug #266684.
6 (Portage version: 2.2_rc40/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.17 sci-misc/boinc/files/boinc.init
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.17&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?rev=1.17&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/files/boinc.init?r1=1.16&r2=1.17
14
15 Index: boinc.init
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/files/boinc.init,v
18 retrieving revision 1.16
19 retrieving revision 1.17
20 diff -u -r1.16 -r1.17
21 --- boinc.init 24 Jul 2009 10:58:33 -0000 1.16
22 +++ boinc.init 2 Sep 2009 21:22:20 -0000 1.17
23 @@ -108,7 +108,9 @@
24 # we have to work in runtime directory
25 cd "${RUNTIMEDIR}"
26 # boinc does not return 1 when it fails currently
27 - "${BOINCBIN}" --chuid "${USER}:${GROUP}" --attach_project "${url}" "${key}" &> /dev/null
28 + "${BOINCBIN}" --attach_project "${url}" "${key}" &> /dev/null
29 + # change the perms for the files to defined user/group
30 + chown -R ${USER}:${GROUP} *
31 eend $?
32
33 sleep 10