Re: %postin hackery, passing arguments to post-install script/program

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

 



On Wed, 2005-06-01 at 17:42 -0400, Jim Knoble wrote:
> Circa 2005-06-01 dixit Paul Nasrat:
> 
> : And what happens if someone uses a non rpm cli to do the install
> : (rpmlib) potentially via a gui, or via kickstart.
> 
> Then the postinstall script runs, and somecommand runs and gets its
> input programmatically from a here document or an expect script and ...
> it's the same no matter what method is used to install the package
> (apart from rpm2cpio).
> 
> : rpm installs are designed to be non-interactive.  Instead write a config
> : program users can use post install.
> 
> That's what this whole conversation has been about.  You obviously
> haven't been paying attention.

he doesn't mean %post install.

he means after the whole transaction is done.

# rpm -ivh someshit.rpm
  someshit ############################### 100%
# someshit-config --make-it-work

-sv



[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux