Re: [SailfishDevel] Regarding %ghost directive

2014-03-14 Thread Luciano Montanaro
I don't think you are supposed to worry about files from the user .config directory. They are not part of the installation, and, as you should not install things in $XDG_*_HOME, you should leave it alone on uninstall. These files should be small, and if the user changes his mind and installs the a

Re: [SailfishDevel] Regarding %ghost directive

2014-03-14 Thread Iosif Hamlatzis
I've checked the link and as I understand it doesn't take wildcards, so if I don't know beforehand the names of the files that will be created at runtime then I'm in big trouble. Also the folder I store my data files according to this link https://harbour.jolla.com/faq#2.14.0 is $XDG_DATA_HOME/ wh

Re: [SailfishDevel] Regarding %ghost directive

2014-03-14 Thread Andrey Kozhevnikov
http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html On 14.03.2014 13:16, Iosif Hamlatzis wrote: I was told in another thread that if I wanted my configuration and data files that my game places in the XDG basedir to be removed during uninstallation I should use the %gho

[SailfishDevel] Regarding %ghost directive

2014-03-14 Thread Iosif Hamlatzis
I was told in another thread that if I wanted my configuration and data files that my game places in the XDG basedir to be removed during uninstallation I should use the %ghost directive in the .spec file. I am not a linux developer so I don't know what this means, is there a sample somewhere? I c