fcopy feature request: report if a file was copied

Michael Tautschnig tautschn at model.in.tum.de
Wed Dec 6 17:01:08 CET 2006


> Am Mittwoch, 6. Dezember 2006 16:13 schrieb Michael Tautschnig:
> > > hi,
> > >
> > > as i use softupdate a lot , it would be nice to have a fcopy feature
> > > which reports if any files or file permissions were changed. Look at my
> > > script in BASE/50-ntp
> >
> > [...]
> >
> > I guess postinst is what you really want (and it is already there, after
> > all). See the man page.
> 
> you are right, but
> 
> - postinst is called for every file which is copied
> - 
> 

Which is what you intended, as I understood it - this does _not_ mean that
postinst is called for every file that fcopy is run on, but only in those cases
where the file is _really_ copied, i.e., overwritten.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20061206/8db14041/attachment.bin 


More information about the linux-fai mailing list