On Jul 02, Justin Pryzby <[EMAIL PROTECTED]> wrote: > > > If I understand correctly, you want /var/spool/news to exist always, > > > not conditional on any package being installed. Isn't the solution to > > > this just to create the symlink in the maintscripts, and *not* include > > > it in the package? > > I needed a symlink because of local issues. > Oh, okay. So you wanted to avoid dpkg removing a local > file/modification (since it has a different type)? Isn't this what > local diversions are for? > > dpkg-divert --rename /var/spool/news && ln -s .. /var/spool/news
No, because the original /var/spool/news was a directory and directories cannot be diverted. My point is that before removing a directory dpkg should check that it actually still is a directory and not a symlink to a non-empty directory. -- ciao, Marco
signature.asc
Description: Digital signature

