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