> >>>>> On Fri, 31 Mar 2006 09:13:02 +0200, Michael Tautschnig <[EMAIL > >>>>> PROTECTED]> said: > > > > If templates are used, as described above, fcopy will copy the file > each time, > > even if nothing has changed. The only way to do it correctly would be > copying > > the template to some temporary file, then running {pre,post}inst on > this file, > > then do the diff ... However, the scripts might have sideeffects, such > as > This is exactly what fcopy is doing. Is executes a preinst script on a > temporary copy of the template, the it does the diff. The postinst is > only executed if the new file was copied. >
Sorry, I didn't know that -- pretty cool... But then the "bug" could be fixed by always adding those files (even if not listed due to -P) to the changed-Array that have a preinst script!? Regards, Michael
signature.asc
Description: Digital signature