- Original MIRACLE LINUX ascii art is contributed by Akio Tomita under MIT License (@tmya)
- Ascii art is brushed up by Haruka Kawahara under MIT License (@kawaharuka)
This pull request replaces the old broken code (see #1952) with a simpler, working one for `bar_color_total`, just like `bar_color_elapsed`. Let me know if the old code was done that way for a specific purpose.
From os-release(5):
> The file /etc/os-release takes precedence over /usr/lib/os-release.
> Applications should check for the former, and exclusively use its
> data if it exists, and only fall back to /usr/lib/os-release if it
> is missing. Applications should not read data from both files at the
> same time.
Signed-off-by: Masanori Ogino <masanori.ogino@gmail.com>
This PR extends the Apple Terminal AppleScript call that fetches the font. It now fetches the font size and appends it to the font name to make the output match other terminals.
MACHINE refers to the architecture family, whereas MACHINE_ARCH refers
to the specific variant. For x86, MACHINE is already split up into i386
and amd64, so there is only one MACHINE_ARCH for each, that takes an
identical value, and thus this patch has no effect there. There is also
the oddity of arm64, which only has one MACHINE_ARCH, but the name of
that is aarch64. For other architectures, one MACHINE covers multiple
MACHINE_ARCH variants, like powerpc which has powerpc, powerpcspe,
powerpc64 and powerpc64le. It's therefore more helpful to print
MACHINE_ARCH here, not MACHINE.
Note that MACHINE_ARCH is what official release information, such as
download pages and the list of supported architectures, tends to use,
due to its increased specificity.
This may also apply to other BSDs, but I have no experience of them.
If not yet bootstrapped, pkg will print out:
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]:
and wait for input if stdin is a tty. Use </dev/null to squash this.