Results 1 to 3 of 3
Hi,
Have an xml file that I would like to modify during a package install with configuration details that would be gleaned from a user during the installation process. Can ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-30-2008 #1Just Joined!
- Join Date
- Feb 2008
- Posts
- 19
DEbian package installation
Hi,
Have an xml file that I would like to modify during a package install with configuration details that would be gleaned from a user during the installation process. Can this kind of thing be done during the installation of a debian package?
- 03-31-2008 #2Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
I think so, read up on debconf.
Operating System: GNU Emacs
- 04-03-2008 #3Just Joined!
- Join Date
- Feb 2008
- Posts
- 19
debconf has limitations
From the doco for debconf => 'Note that the config script is run before the package is unpacked. It should only use commands that are in essential packages. Also, it shouldn't actually edit files on the system, or affect it in any other way.'
Sounds to me therefore that I cannot use it to edit a configuration file during the package install process.

David


Reply With Quote
