Joey Hess <[EMAIL PROTECTED]> writes:
> 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?
I think Ubuntu should be doing it.
We might then change it to /etc/debian-installer-version file or
something that would be keep available everywhere.
Thoughts?
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: [EMAIL PROTECTED] UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
you the whole house."
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]