Did you remember to add %ghost in .spec files for rpm to claim ownership for 
files that you created? Afaik with that remove will also remove the files when 
package is uninstalled.

________________________________
From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] 
on behalf of Iosif Hamlatzis [i.hamlat...@gmail.com]
Sent: Thursday, March 13, 2014 8:22 PM
To: Sailfish OS Developers
Subject: Re: [SailfishDevel] Folder permissions

Thank you very much, I've just tested my game using the XDG basedir and it 
worked so I can continue my port of the game by modifying the rest of the code.

Just one question, will the folders under .config/.cache/.local be removed if I 
uninstall the game? I've noticed that using the XDG basedir to read the 
environment variables I get something like: ..../..../<MyGameName> but no 
folder is created, so I programmatically created the <MyGameName> folder and 
placed my config (read/write) files.

Since the GUI from the emulator doesn't uninstall the actual game I ssh into 
the emulator and called "zypper remove <MyGameName>" and it was uninstalled but 
the folders with all their contents I had created weren't erased. If this 
happens in the actual device then at some point there isn't going to be any 
space available on the device.
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to