Bedrock mimics other distros. Part of doing so involves having distro
identifiers such as /etc/os-release look like those from other distros.
It must thus be special cased to be detected properly.
Bedrock typically includes /bedrock/cross/* entries in its $PATH.
However, they may be dropped as a hint to Bedrock-aware software that
they should act as though they were not Bedrock aware. The $PATH check
is thus used to have pfetch conditionally disable the Bedrock special
casing even on Bedrock systems.
pfetch package count detection fails to consider repeated instances of a
given package manager. Correcting this for the Bedrock specific concern
is purposefully eschewed for the sake of simplicity. It may be
revisited later once Bedrock's Package Manager Manager ("pmm") feature
stabilizes.
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.