tags 829418 confirmed help
severity 829418 important
thanks

Craig Sanders wrote...

> (...) even a sysvinit box has systemctl installed (...)

*yuck* Trying to do things for the best yields results like this.

And while I agree systemd is more or less unavoidable these days, I
still want to support those who run Debian without it.

> The easiest way to do that is to check if the directory 
> /usr/share/doc/systemd-sysv/ exists, e.g.:
> 
>         if [ -d /usr/share/doc/systemd-sysv/ ] ; then

Unfortunately not that way, by Policy 12.3:

| Packages must not require the existence of any files in
| /usr/share/doc/ in order to function.

    Christoph

Attachment: signature.asc
Description: Digital signature

Reply via email to