Hi, I'm proposing to look for the folder in the same directory as the executable first, and if that doesn't exist, in the system location (/usr/share/blender). This means that /usr/bin/datafiles would be used if it was there, but that's an unintentional side effect and the folder should be installed in /usr/share/blender when blender is installed in /usr/bin/blender. This just also covers the case of running blender from an unpacked archive, without using a wrapper script to find the right folder.
Brecht. On Tue, May 11, 2010 at 5:07 PM, Ken Hughes <khug...@pacific.edu> wrote: > Before I comment, let me be sure I understand what's being proposed: > > On Unix, the blender executable would most likely be /usr/bin/blender. > So the proposal is to have a /usr/bin/datafiles folder for the system > data files? If so, I don't think that's a good idea, for Unix anyway. > You don't expect to find any data in /usr/bin. > > Ken > > On 05/11/2010 02:37 AM, Brecht Van Lommel wrote: >> Hi, >> >> On Tue, May 11, 2010 at 10:40 AM, Rob M<rob.nos...@4mation.co.uk> wrote: >> >>> I agree with most of this but why can't the default location for the system >>> data files be in the datafiles sub directory of the directory where the >>> blender executable resides? >>> >> Proposal looks fine to me, but I agree with this. We can avoid a >> wrapper script, making it use the folder in the same directory doesn't >> conflict, so it could just look for a "datafiles" in the same folder >> first. >> >> Brecht. >> _______________________________________________ >> Bf-committers mailing list >> Bf-committers@blender.org >> http://lists.blender.org/mailman/listinfo/bf-committers >> >> > > _______________________________________________ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers