I am trying to package my app into a
.deb file following the tutorial.
Everything works fine as far as the application software goes, but I can't figure out how to install the sample data and config files in the right place.
I am trying to install to
~/.config/myapp. How do you specify this in the Debian install file? Everything runs, but the data actually gets put in a new directory called
~ under the root. I need them to be in the users Home directory, owned by the user.
Do I have to put these files in the
/opt/myapp directory and then copy them, from within the application, to
~/.config? Or is there another way to do this?