On Sun, 21 Aug 2011, Berend Hasselman wrote:
On 21-08-2011, at 21:27, Allin Cottrell wrote:
> On Sat, 20 Aug 2011, Henrique Andrade wrote:
>
>> Today when we update Gretl for Mac OS all the server functions, example
>> data, and databases are deleted. So every time I update the program need to
>> re-download these files on the server. I don't have this problem on my
>> Windows based PC.
>
> OK, I see what you mean. This problem seems to be a result of
> brokenness on the OS X platform.
I don't think it is actually something broken.
An application such as Gretl.app manifests itself in the Finder in Mac OS CX as a single
entity (a package).
In unix terms it is a folder hierarchy following a strict set of rules.
When you replace an existing Gretl.app with a new Gretl.app it replaces the existing one
so everything that was added at some time will be deleted. Playing safe I would say.
Most applications in Mac OS X would save additional,
modifiable, version independent stuff in e.g.
~/Library/Application Support/<AppName>. A lot actually do.
Why not ~/Library/Application Support/Gretl?
That way a user home directory doesn't get filled beyond
what's there already.
OK, I won't update the snapshot until I've tried that.
Allin