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 lines: %pre echo "Bla bla bla....."; echo -n "Answer (yes | no | later)"; read chiave while ( test -z $chiave ); do read chiave done; that produce a /var/tmp/rpm-tmp.19101 as follow: echo "Bla bla bla....."; echo -n "Answer (yes | no | later)"; read chiave while ( test -z $chiave ); do read chiave done; The problem is that $chiave is NEVER != zero. Some one can help me ? Realy tnx, Miguel Beccari