The following patch: * uses a temporary file for /etc/profile.env creation * honours teh fact that /etc/profile.env and friends can be symlinks. TODO: * Get info from solar if mktemp-usage is ok as is. * Let chutzpah test this :-)
Created attachment 80996 [details, diff] Cleanup for env.eselect
Works fairly well, except that /etc/profile.env keeps getting created with mode 600.
Permission problem is fixed. Everything is in SVN.
Fixed as of eselect-1.0.2