Am Samstag, 23. November 2013 schrieb Marguerite Su:
And /usr/lib/steam is also marked %ghost, but it is
created and owned
by steam package.
We write such things in %files section simply because we want the rpm
to own all the things, the directories created in %install section,
and the filled contents in %post section.
A maybe silly question - why don't you package those directories as
if they are created in %post anyway (aka "always there")?
That avoids the black magic and also cleans up when removing the package
(only empty directories are removed AFAIK).
BTW: Directories can be owned by multiple packages without conflicts
(the permissions should of course match ;-)
oder das absolut berauschende ;-))
[ -d "/test/" ] || echo mkd
Danke, zum Glück muß ich heute nicht mehr
mit dem Auto fahren :-)
[> Thomas Preissler und Al Bogner in suse-linux]
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org