Re: RPM question

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

 



Luc MAIGNAN wrote:
Hi,

sorry for a so newbie question, but I can't find the answer in the howto
i've read.
I want to build a RPM to install a software i've written. In the .spec,
the %install tag seems to be executed when the rpm is built and not when
i  install it. Where can I put code in the spec file to execute it at
installation time ? (rpm -ivh)

%pre
%post
%preun
%postun

For pre/post installation, and pre/post uninstallation, respectively.

-- Rex


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux