cleanup
This commit is contained in:
parent
d36ee68f2c
commit
fbb69625a7
2
neofetch
2
neofetch
|
@ -1278,7 +1278,7 @@ get_packages() {
|
|||
tot() { IFS=$'\n' read -d "" -ra pkgs < <("$@");((packages+="${#pkgs[@]}"));pac "${#pkgs[@]}"; }
|
||||
|
||||
# Redefine tot() for Bedrock Linux.
|
||||
[[ -f /bedrock/etc/bedrock-release && "$PATH" == */bedrock/cross/* ]] && {
|
||||
[[ -f /bedrock/etc/bedrock-release && $PATH == */bedrock/cross/* ]] && {
|
||||
tot() {
|
||||
IFS=$'\n' read -d "" -ra pkgs < <(for s in $(brl list); do strat -r "$s" "$@"; done)
|
||||
((packages+="${#pkgs[@]}"))
|
||||
|
|
Reference in New Issue