packaging

Debian packaging: deploying files to the user home directory

别来无恙 提交于 2020-08-04 06:01:28
问题 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

Debian packaging: deploying files to the user home directory

◇◆丶佛笑我妖孽 提交于 2020-08-04 06:01:06
问题 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

How to modify INI files from shell script?

帅比萌擦擦* 提交于 2020-07-21 07:42:33
问题 I'm building a custom package of vnc and would like to ensure the xdcmp settings of GDM are enabled in the package post install script. The gdm.conf file is an ini style one, i.e.: [section] var=name And the value I want to set has name clashes in different sections throughout the config file. Are there any methods or tools that allow for easy manipulation of ini style config files from shell scripts? I'd like to sort this out in the .deb postinst script. 回答1: If you're willing to write some

why jpackage icon not used in windows search toolbar?

本秂侑毒 提交于 2020-06-16 17:25:26
问题 I am creating the installer using the following command. I am giving jpackage the icon to use jpackage --runtime-image hellofx --module hellofx/hellofx.HelloFX --win-shortcut --win-menu --icon smile.ico When i install the program the icon is used for desktop shortcut but in the search toolbar it still displays the default java icon. Is there a way to use the given icon in search toolbar as well? I appreciate any help. thanks! UPDATE: here it seems the icons are correctly applied to app icons

What is the use case for `pip install -e`

邮差的信 提交于 2020-05-07 10:12:52
问题 When I need to work on one of my pet projects, I simply clone the repository as usual ( git clone <url> ), edit what I need, run the tests, update the setup.py version, commit, push, build the packages and upload them to PyPI. What is the advantage of using pip install -e ? Should I be using it? How would it improve my workflow? If this helps, here are my two pet projects that I currently package and send to PyPI, but never used pip install -e . One is pure Python, the other is a Django