Fixed emerge package count and added VoidLinux/xbps support
This commit is contained in:
parent
c4c71fc49a
commit
cd08003752
19
config/ascii/void
Normal file
19
config/ascii/void
Normal file
@ -0,0 +1,19 @@
|
||||
#/2;36;72;15
|
||||
${C2}:::::----:::::
|
||||
${C2}::----------------::=
|
||||
${C2}:-------------------::
|
||||
${C1} : ${C2}:::. ..:-------:
|
||||
${C1} =*=. ${C2}.:-----:
|
||||
${C1} =****- ${C2}:-----:
|
||||
${C1}=*****- ${C2}:::::: :-----:
|
||||
${C1}=****+ ${C2}:--------: :----:
|
||||
${C1}+****- ${C2}.----------. :----:
|
||||
${C1}+****- ${C2}.----------. :-----
|
||||
${C1}=****+ ${C2}:--------: :----:
|
||||
${C1}=*****- ${C2}:::::: :-----:
|
||||
${C1} =*****- ${C2}:----:
|
||||
${C1} =*****+: ${C2}:-:
|
||||
${C1} =*******=:: ::=-. ${C2}.
|
||||
${C1} ==*******************-
|
||||
${C1} ===****************=-
|
||||
${C1} ===+=****++===
|
@ -20,11 +20,14 @@ get_packages() {
|
||||
if command_exists rpm; then
|
||||
ARRAY+=("$(rpm -qa | wc -l) (rpm)")
|
||||
fi
|
||||
if command_exists pacman; then
|
||||
ARRAY+=("$(xbps-query -l | wc -l) (xbps)")
|
||||
fi
|
||||
if command_exists bpm; then
|
||||
ARRAY+=("$(bpm list -n) (bpm)")
|
||||
fi
|
||||
if command_exists emerge; then
|
||||
ARRAY+=("$(ls -l /var/db/pkg/ | wc -l) (emerge)")
|
||||
ARRAY+=("$(ls -l /var/db/pkg/* | wc -l) (emerge)")
|
||||
fi
|
||||
if command_exists flatpak; then
|
||||
ARRAY+=("$(flatpak list | wc -l) (flatpak)")
|
||||
|
Loading…
x
Reference in New Issue
Block a user