create a rpm which have rpms and scripts and during installation at least one script should execute -


something can spec file ... have created rpm when installing rpm . need invoke script part of rpm . may pre or post installation can invoke scripts part of rpm .

as @etanreisner has mentioned in rpm spec file under %post, can mention whatever want accomplish after rpm installation completed. e.g

%post /sbin/service snmpd restart 

hope helps.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -