Debian packaging: deploying files to the user home directory
问题 I use Debhelper to create Debian packages. To deploy files and directories, I use the debian/install and debian/dirs files. Now I would like my package to deploy the default user configuration file to $HOME/.mypackagerc (just like .bashrc and friends). Does Debhelper provide a way to do this, or should I just: Do it in postinst script Or even do this in my program, at first execution 回答1: You should do it in your own program. You can't get debhelper to do this. A postinst script may be able