[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Post-Install Scripts with User Input




I'm fairly new to RPMs, but I've been compiling one for use on several of our internal machines.  So far, I've loved the capabilities I've found within the spec file, specifically the use of shell scripts in the post-installation.  However, in one of my scripts I modify system files, and I would like to prompt the user before so doing.  When I issue a "read" command in the spec file, though, (and the script works fine if run from a normal shell environment) the shell does not wait for user input, but simply continues on to the next line.  Can anyone tell me why, and if so, how to get around that?

Thanks in advance!
Lance



>From the desk of:
----------------------------------------------------------------------------------
Lance R. McGrath, Network Administrator
Abbott Laboratories Network Management Services
Phone: 847-937-8376
E-mail: lance.mcgrath@abbott.com
Pager: 877-390-8696 / lancemcgrath@skytel.com
----------------------------------------------------------------------------------

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []