David, RPMs are supposed to be non interactive. This allows you to, say, install a couple of hundred packages in an automated fashion from a scheduler like cron.
If your application needs some inital setup, you should put the script or application which does this as another SOURCE in your spec, give it an obvious name, and mention it in your documentation. Mike On Fri, 2002-09-20 at 07:51, David Fitch wrote: > > Hi all, > > I'm building a binary rpm (RH 7.2) and in the postinstall > part of it it asks the user a question. Problem is when > I install the rpm (rpm -Uvh xxx.rpm) it prints out the > question then happily carries on without pausing on the > "read ANSWER" bit. Do rpms not let you do this? (somehow) > or am I doing something wrong? > > Ta, > Dave. > > > -- > SLUG - Sydney Linux User's Group - http://slug.org.au/ > More Info: http://lists.slug.org.au/listinfo/slug -- ____________________________________________________________________________ Mike MacCana Support Consultant RHCE, MCSE, MCP+I Cybersource: Providing Quality IT Professional Services for 11 Years Specialists in Unix/Linux, TCP/IP and Web Application Development Level 9, 140 Queen St, Melbourne. Ph : 03 9642 5997 Fax: 03 9642 5998 -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
