Colin Watson wrote:
>   - Tighten check for whether we're running in d-i; anna-install isn't
>     quite enough because if you're running d-i code outside d-i it's
>     sometimes reasonable to install a shim for anna-install.
> -     if type anna-install >/dev/null 2>&1; then
> +     if type anna-install >/dev/null 2>&1 && [ -d /lib/debian-installer ]; 
> then

This still feels very ad-hoc. What about looking for
DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
in /etc/lsb-release? Or are derived distros changing that?

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to