fix: cargo bin dir

Use the environment variable to find the dir instead of the hard coded default
This commit is contained in:
Racci 2022-12-05 16:00:35 +11:00 committed by GitHub
parent d607b3326c
commit 30c50dc792
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1911,7 +1911,7 @@ get_packages() {
has flatpak && tot flatpak list
has spm && tot spm list -i
has puyo && dir ~/.puyo/installed
has cargo && dir ~/.cargo/bin/*
has cargo && dir ${CARGO_HOME}/bin/*
# Snap hangs if the command is run without the daemon running.
# Only run snap if the daemon is also running.