Hello, forum!
My Qt application for Nokia N9 stores some data in the my folder inside /home/user/.config. I need to delete this folder with my data when application will be uninstalled. As far as I understand this can be reached using postrm file. I use the following file:
postrm
But this code doesn't work. I assume there's not enough rights to remove something in the user's folder. So, I've tried to useCode:#!/bin/sh rm -rf /home/user/.config/mydatafolder/ exit 0
But it works only in developer mode and I need the app to work properly without it. The following code doesn't work too:Code:devel-su user -c "rm -rf /home/user/.config/mydatafolder/"
Does anybody know how to remove this folder?Code:su user -c "rm -rf /home/user/.config/mydatafolder/"

Reply With Quote

