Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 71285 | Differences between
and this patch

Collapse All | Expand All

(-)env-update.sh.orig (-11 / +1 lines)
Lines 24-44 Link Here
24
export SVCDIR="${svcdir}"
24
export SVCDIR="${svcdir}"
25
25
26
# Only update if files have actually changed
26
# Only update if files have actually changed
27
update=1
28
if [ "$1" == "-u" ]
27
if [ "$1" == "-u" ]
29
then
28
then
30
	update=0
29
	dependencyChanged "${svcdir}/envcache" /etc/env.d /etc/env.d/* && exit 0
31
	for config in /etc/env.d
32
	do
33
		if [ "${config}" -nt "${svcdir}/envcache" ]
34
		then
35
			update=1
36
			break
37
		fi
38
	done
39
	shift
30
	shift
40
fi
31
fi
41
[ ${update} -eq 0 ] && exit 0
42
32
43
if [ "$#" -ne 0 ]
33
if [ "$#" -ne 0 ]
44
then
34
then

Return to bug 71285