Re: creating .rpm files for special installations

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

 



On Fri, Jul 22, 2011 at 2:37 PM, g <geleem@xxxxxxxxxxxxx> wrote:
> On 07/22/2011 02:24 PM, g wrote:
> <>
>
>> not recalling all abilities of rpm, my question is, can rpm/yum append to
>> existing files?
>
> to Richard Shaw and Todd Zullinger,
>
> i thank you for your replies.
>
> as yet, i have not been to rpm.org to refresh on operations of rpm and
> appending to files. i will do so in near future.
>
> right now, i am refreshing on iptables so i can get back to another thread.
>
> i did google rpm.org for 'scriptlet' and had 864 hits. none of which did
> i take time to go thru. obviously, or i would still be reading. ;)

Sorry, I wasn't intentionally obtuse :)

A scriptlet is nothing more than a bash script within the spec file[1]
of an RPM package. For your purposes I think the appropriate place to
do what you're trying to do is in the "%post" section. This is
executed after package install.

Also, if you want to undo whatever you do in the %post script then you
would put that "scriptlet" in %postun.

Richard

[1] http://www.rpm.org/max-rpm/s1-rpm-inside-scripts.html
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux