I builded a RPM from scratch of an application of mine.
The SRC rpm works: it builds 2 i586 architecture packages, it has got
good controls, it check dependecies and so on.
My trouble is this: how to force the user to answer some questions
before install the package ?
I wrote down theese
Miguel Beccari wrote:
%pre
echo Bla bla bla.;
echo -n Answer (yes | no | later);
read chiave
while ( test -z $chiave ); do
read chiave
done;
OK. In the docs I read:
There are certain caveats about these scripts which you should take into
account. Number one, each must
On Fri, 31 May 2002, Miguel Beccari wrote:
I builded a RPM from scratch of an application of mine.
The SRC rpm works: it builds 2 i586 architecture packages, it has got
good controls, it check dependecies and so on.
My trouble is this: how to force the user to answer some questions
Stew Benedict wrote:
Are you saying the script behave differently in the RPM than if you just
run it? I would do something a little more bulletproof, which would force
them to answer one of your choices, unless they ctrl-C out of it:
Yes (I am saying the script behave differently).
I
When the script is run by rpm, it probably has input redirected from
/dev/null. As the docs say, it should be non-interactive. Anything else
will break scripted installations.
If you want the user to answer questions, you will have to do as Microsoft
does (I don't believe I just said that!
Rick Thomas wrote:
When the script is run by rpm, it probably has input redirected from
/dev/null. As the docs say, it should be non-interactive. Anything else
will break scripted installations.
Yes. It is so.
In fact I used something like
%pre
$bashscript = /tmp/myfile
echo #!/bin/sh
i there,
I already tried everything I could find on the internet to configure the
printcap file in /etc but I cannot print with the lpd to my Apple Laserwriter
320 (directy connected to my iMac via a bridge). I am, however, able to print
directly to the laserwriter with the pap command:
pap
I will write a mini setup program as Microsft does ;)
Up to now I just echo out the instructions and the license (with a
line that sounds like 'using the software presumes you have accepted the
license terms at all
Intel's free compiler, Mathematica, and maple take the following
On 5/31/02 3:29 PM, Jeroen Diederen [EMAIL PROTECTED] wrote:
i there,
I already tried everything I could find on the internet to configure the
printcap file in /etc but I cannot print with the lpd to my Apple Laserwriter
320
Have you seen this page ?
http://gdr.free.fr/linux2.html
MJF