> > --- leam <leam@xxxxxxxxx> wrote: > > > I want to include some temporary files in an RPM so > > that they are > > available during the install and revoved at the end. > > The files will be > > searched for information that will be appended to > > system files. Where > > do I put the files in the SOURCE tree and how do I > > refer to them in the > > SPEC file? > > > > For example: > > > > grep leam aliases.new >> /etc/aliases > Why not just > echo "what you want" >> /etc/aliases ? > > Or why you have to remove aliases.new file ? > > Valery Because I want to: grep $i /etc/passwd || grep $i passwd.new >> /etc/passwd in the passwd, group, shadow, etc files. This lets me test if they're already there and add them if not, preventing duplicate entries. ciao! leam _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list