View Single Post
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#3
Originally Posted by XenGi View Post
hi,

I'm developing an application with qt creator for n900.
In my app I need to save some stuff to a config file. This file should be located at "~/.myapp/config.xml".
Creating and editing the file at runtime is no problem but how do I add it to the debian package so that it will be installed along with the binary?
That should be the standard way in debian, should it?

I search google and found many stuff regarding debian packaging but I'm didn't find a suitable answer.
use the postinst file
u can create a config to write or u can move a config file after the installation directly using the postinst file to add at the DEBIAN folder