On Sat, Jul 06, 2002 at 07:15:21PM +0400, Borsenkow Andrej wrote:
> Reading Mandrake HOWTO I got impression that file marked as
> %config(missingok) is not required to exist at package build time - as
> implied by sentence "The %config(missingok) is frequently used for files
Yes, sorry, this is a mistake.
> like /etc/rc.d/rc2.d/S55named where the (non-)existence of the symlink
> is part of the configuration in %post,". But it does not work this way,
> if I try to add non-existent file I get an error that file does not
> exist ;-)
>
> %files
> %defattr(-,root,root)
> /tmp/foobar
> %config(missingok) /tmp/barbar
>
> so when this is used (useful)?
For (missingok), it means that when a package is removed, the file doesn't
necessarily have to be there. This is obviously useful for the init.d links,
because you might have changed things with chkconfig.
Again, Sorry for the mistake. :-)
-- Geoff.