I think ~/.applications/bin is better. Then applications can go into ~/.applications/packages/PKG (or whatever) and everything remains clean. I hate it when visible directories are added to my home dir...
-- Tom. On 20/09/14 16:38, Carsten Haitzler wrote: > raster pushed a commit to branch master. > > http://git.enlightenment.org/core/enlightenment.git/commit/?id=9391d261ba555dbdb828b549ec719ab5e3b0b785 > > commit 9391d261ba555dbdb828b549ec719ab5e3b0b785 > Author: Carsten Haitzler (Rasterman) <[email protected]> > Date: Sun Sep 21 00:08:29 2014 +0900 > > e_start - add ~/Applications/.bin to use for app bin searches > > this is here to help for user installed apps > --- > src/bin/e_start_main.c | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > > diff --git a/src/bin/e_start_main.c b/src/bin/e_start_main.c > index fa3c054..571477f 100644 > --- a/src/bin/e_start_main.c > +++ b/src/bin/e_start_main.c > @@ -379,10 +379,8 @@ main(int argc, char **argv) > really_know = EINA_TRUE; > } > > - if (really_know) > - _env_path_append("PATH", eina_prefix_bin_get(pfx)); > - else > - _env_path_prepend("PATH", eina_prefix_bin_get(pfx)); > + if (really_know) _env_path_append("PATH", eina_prefix_bin_get(pfx)); > + else _env_path_prepend("PATH", eina_prefix_bin_get(pfx)); > > if (valgrind_mode || valgrind_tool) > { > @@ -406,6 +404,7 @@ main(int argc, char **argv) > if (home) > { > FILE *f; > + const char *tmps; > > /* if you have ~/.e-mtrack, then the tracker will be enabled > * using the content of this file as the path to the mtrack.so > @@ -430,6 +429,11 @@ main(int argc, char **argv) > } > fclose(f); > } > + tmps = getenv("XDG_DATA_HOME"); > + if (tmps) snprintf(buf, sizeof(buf), "%s/Applications/.bin", tmps); > + else snprintf(buf, sizeof(buf), "%s/Applications/.bin", home); > + if (really_know) _env_path_append("PATH", buf); > + else _env_path_prepend("PATH", buf); > } > > /* run e directly now */ > ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
