"debian packaging: deploying files to the user home directory" Code Answer


you should do it in your own program.

you can't get debhelper to do this. a postinst script may be able to install in all current user accounts, but you lose control of what happens after the user has performed the installation. so new users won't get the ~/.mypackagerc files, unless you put it in /etc/skel also which is overdoing it, in my opinion.

i also say this because the package is installed by root. root shouldn't have to mess around with other user's files. i don't know whether debian policy has anything on this, but you'll save yourself writing a lot of ugly code if you program made these files itself.


By KevBot on February 16 2022

Answers related to “debian packaging: deploying files to the user home directory”

Only authorized users can answer the Search term. Please sign in first, or register a free account.