[PR] Merge pull request #146 from OldWorldOrdr/master

make cargo run on all systems
This commit is contained in:
Azalea 2023-06-27 15:21:09 -04:00 committed by GitHub
commit 6a023d4c91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1947,6 +1947,7 @@ get_packages() {
# OS-independent package managers.
has pipx && tot pipx list --short
has cargo && _cargopkgs="$(cargo install --list | grep -v '^ ')" && tot echo "$_cargopkgs"
# OS-specific package managers.
case $os in
@ -2054,7 +2055,6 @@ get_packages() {
has flatpak && tot flatpak list
has spm && tot spm list -i
has puyo && dir ~/.puyo/installed
has cargo && _cargopkgs="$(cargo install --list | grep -v '^ ')" && tot echo "$_cargopkgs"
# Snap hangs if the command is run without the daemon running.
# Only run snap if the daemon is also running.