[+] Count choco packages and winget

This commit is contained in:
Hykilpikonna 2022-05-18 16:23:35 -04:00 committed by GitHub
parent e97c64e7c2
commit b744be3255
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1677,8 +1677,12 @@ get_packages() {
has scoop && pkgs_h=1 dir ~/scoop/apps/* && ((packages-=1))
# Count chocolatey packages.
[[ -d /cygdrive/c/ProgramData/chocolatey/lib ]] && \
dir /cygdrive/c/ProgramData/chocolatey/lib/*
# [[ -d /c/ProgramData/chocolatey/lib ]] && \
# dir /c/ProgramData/chocolatey/lib/*
has choco && tot choco list --localonly
# Count winget
has winget && tot winget list
;;
Haiku)