afetch
afetch copied to clipboard
Distribution Request: Bedrock Linux
I would love it if you could add Bedrock Linux to afetch
The problem is with bedrock, its basically a distro which allows you to mix and match components (like an easy LFS) but I have no idea how you could get the info for it. I don't know if I have explained it correctly, if I haven't I would suggest you to read the documentation on their website or run the hijacker on some spare system then run thru the tutorial
Bedrock has its own "package manager" which updates other package managers (thats why its called "pmm" (package manager manager) but I wouldn't use that as a package count in the fetch because I think its better to use the original distro's package manager
If the pmm package manager is exclusive to Bedrock Linux then that could be checked for in order to determine that the distro is Bedrock.
I think you may be right about the package count though, I'd need to read up a bit on how the package manager works.
If the
pmmpackage manager is exclusive to Bedrock Linux then that could be checked for in order to determine that the distro is Bedrock. I think you may be right about the package count though, I'd need to read up a bit on how the package manager works.
Yeah, you could probably check if the pmm command exists on the system, and if it does, you can determine that the distro is Bedrock.
I found a snippet of code from dylanaraps/pfetch that can help you identify bedrock:
# Check to see if we're running Bedrock Linux which is
# very unique. This simply checks to see if the user's
# PATH contains a Bedrock specific value.
case $PATH in
(*/bedrock/cross/*)
distro='Bedrock Linux'
;;
esac
Any updates on this?
?
@13-CF