packages: Add pm and cargo package managers

This commit is contained in:
DessertEagle 2021-08-16 12:14:46 +02:00 committed by GitHub
parent 5dc9a2fa61
commit 2c3841012e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1555,6 +1555,7 @@ get_packages() {
has butch && tot butch list
has swupd && tot swupd bundle-list --quiet
has pisi && tot pisi li
has pm && tot pm list packages
# Using the dnf package cache is much faster than rpm.
if has dnf && type -p sqlite3 >/dev/null && [[ -f /var/cache/dnf/packages.db ]]; then
@ -1625,6 +1626,7 @@ get_packages() {
has flatpak && tot flatpak list
has spm && tot spm list -i
has puyo && dir ~/.puyo/installed
has cargo && dir ~/.cargo/bin/*
# Snap hangs if the command is run without the daemon running.
# Only run snap if the daemon is also running.