Comment 10 for bug 1874953

Revision history for this message
Paride Legovini (paride) wrote :

The minimal change is probably moving

update-alternatives --quiet --remove pager /bin/less

from postinst to preinst. The pager alternative will fallback to 'more' at least until the new alternative is set up. Strictly speaking it is probably the most correct thing to do, as 'pager' is never left wrongly configured.

However there are several packages calling `update-alternatives --install` from preinst [1]. That's probably OK too.

[1] https://codesearch.debian.net/search?q=path%3Adebian%2Fpreinst+update-alternatives&literal=1