fix(dnf): use --installed to support dnf 4 and 5 (#13772)

This commit is contained in:
Oliver Jahren 2026-05-27 10:22:10 +02:00 committed by GitHub
commit fe11a3ae23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ local dnfprog="dnf"
command -v dnf5 > /dev/null && dnfprog=dnf5
alias dnfl="${dnfprog} list" # List packages
alias dnfli="${dnfprog} list installed" # List installed packages
alias dnfli="${dnfprog} list --installed" # List installed packages
alias dnfmc="${dnfprog} makecache" # Generate metadata cache
alias dnfp="${dnfprog} info" # Show package information
alias dnfs="${dnfprog} search" # Search package