You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I overoptimized PR #521 for #518, the real intent of the warning ends up looking messy for users:
Describe the feature you'd like
I'd like to give the fix another go with a more sophisticated approach that tests for either package, and then warns if none are found by favoring libncurses-dev.
My proposal is to include both libraries individually in common_debian_pkgs and then extend the probe loop by special-casing the *ncurses* package tests, only warn if none are found, and ensure this works for all os releases, not just deb-based.
Describe alternatives you've considered
I've tried to use expansion to test for either package, which works in a bash/zsh shell:
But not in sh:
Additional context
This will then encourage users to favor the "new" package, but not complain if the system only has "5" installed.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
I think I overoptimized PR #521 for #518, the real intent of the warning ends up looking messy for users:
Describe the feature you'd like
I'd like to give the fix another go with a more sophisticated approach that tests for either package, and then warns if none are found by favoring
libncurses-dev
.My proposal is to include both libraries individually in
common_debian_pkgs
and then extend the probe loop by special-casing the*ncurses*
package tests, only warn if none are found, and ensure this works for all os releases, not just deb-based.Describe alternatives you've considered
I've tried to use expansion to test for either package, which works in a bash/zsh shell:
But not in sh:
Additional context
This will then encourage users to favor the "new" package, but not complain if the system only has "5" installed.
The text was updated successfully, but these errors were encountered: