pre-configure post-install script
| From: | Jack Bates | Date: | Mon, 10 Nov 2008 22:05:19 +0000 |
| Subject: | pre-configure post-install script | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-29422@lists.php.net to get a copy of this message | ||
I want to provide all the answers to a PEAR post-install script in
advance, so that the script will run without user interaction. How can I
do this?
I am trying to write a script to install and configure a PEAR package.
Currently the script looks like:
#!/bin/sh
pear config-create /home/qubitadmin .pearrc
pear/pear channel-discover pear.qubit-toolkit.org
pear/pear install qubit/icaatom-devel
pear/pear run-scripts qubit/icaatom
However the "run-scripts" step prompts for answers to a bunch of
questions. I want to supply the answers in my script, so that the script
runs without user interaction.