TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:21237] Can preinstall script for RPM be interactive ?



Mandar Vaze wrote:
> 
> Hi,
> 
> I need to create an RPM package. I need to ask some
> information to user to set the owner/group/permission
> of the files correctly after I copy the files.
> 
> I was told that pre/postinstall scripts can not be
> interactive. Can anyone confirm/deny this ?
> 
> Is there any way to make the pre/postinstall scripts
> interactive ?

They probably shouldn't be, but some commercial stuff does. ViaVoice
makes you read a license agreement. RealPlayer starts itself and makes
you register it. As root. Blah.

Don't do it. ;)