Le 07/05/2012 22:41, Calvin Morrison a écrit :
I thought if it was set aside for distribution-specific code, it would in starttde could be something like:
if [-e $ TDEDIR / bin / starttde_dist] then . $TDEDIR/bin/starttde_dist fi
The starttde_dist could be that simply executes at the moment of include. Or it could be that would define the functions that would be called in starttde, where applicable - as an events.
Distribution would thus maintain its own starttde_dist.
This is a good solution
Calvin
Hello, to avoid being stuck with only one sub-script, I think it would be even better to have a splitted script with a ".d" subfolder or something like the "/etc/profile.d" directory .. For example: /etc/starttde.d/ It would contain any number of scripts that would be called by the main "starttde" script.
Francois