Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

RPM SPEC pre/post/preun/postun argument values | Me in IT

RPM has 4 parts where (shell) scripts can be used: %pre - Executed before installation. %preun - Executed before un-installation. %post - Executed after installation. %postun - Executed after un-installation. In all these parts or sections the variable "$1" can be checked to see what's being done: Initial installation Upgrade Un-installation This table show the values of "$1" per section related to the action: [...]

Don't be the product, buy the product!