Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 44152 Details for
Bug 71285
env-update is not allways executed when there is a change
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
env-update.sh.patch
env-update.sh.patch (text/plain), 794 bytes, created by
Paul Pacheco
on 2004-11-17 06:19:23 UTC
(
hide
)
Description:
env-update.sh.patch
Filename:
MIME Type:
Creator:
Paul Pacheco
Created:
2004-11-17 06:19:23 UTC
Size:
794 bytes
patch
obsolete
>--- env-update.sh.orig 2004-11-15 09:13:03.000000000 -0600 >+++ env-update.sh 2004-11-16 08:18:49.035646896 -0600 >@@ -3,7 +3,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-src/rc-scripts/sbin/env-update.sh,v 1.5 2004/10/18 17:35:45 vapier Exp $ > >-source /sbin/functions.sh >+source /etc/init.d/functions.sh > > if [ "${EUID}" -ne 0 ] > then >@@ -24,21 +24,11 @@ > export SVCDIR="${svcdir}" > > # Only update if files have actually changed >-update=1 > if [ "$1" == "-u" ] > then >- update=0 >- for config in /etc/env.d >- do >- if [ "${config}" -nt "${svcdir}/envcache" ] >- then >- update=1 >- break >- fi >- done >+ dependencyChanged "${svcdir}/envcache" /etc/env.d && exit 0 > shift > fi >-[ ${update} -eq 0 ] && exit 0 > > if [ "$#" -ne 0 ] > then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 71285
:
43990
|
44059
|
44060
|
44150
| 44152