[Xfce-bugs] [Bug 1661] all Xfce icons missing
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Wed Apr 12 23:10:14 CEST 2006
Do NOT reply to this email. To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1661
------- Comment #11 from bjt23 at cornell.edu 2006-04-12 21:10 UTC -------
Ok, then to be safe, how about this:
if test -z "$XDG_DATA_DIRS"; then
XDG_DATA_DIRS="@datadir@"
elif ! echo "$XDG_DATA_DIRS" | grep -q '@datadir@'; then
XDG_DATA_DIRS="@datadir@:$XDG_DATA_DIRS"
fi
Of course that doesn't handle the case where there's a component of
XDG_DATA_DIRS that contains @datadir@ as a substring. Maybe -- grep -q -E
'(^|:)@datadir@(:|$)' -- or maybe that only works in perl.
--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Xfce-bugs
mailing list