mirror of
https://github.com/SpyHoodle/PrideFetch.git
synced 2024-11-22 19:05:41 +00:00
Fixes for RHEL-based package commands (#25)
* fixes for RHEL-based package commands * move nix to the bottom of the list
This commit is contained in:
parent
49047e5b6c
commit
455299ffe3
@ -2,19 +2,19 @@ from subprocess import check_output
|
|||||||
|
|
||||||
commands = [
|
commands = [
|
||||||
"pacman -Qq --color never", # Arch Linux
|
"pacman -Qq --color never", # Arch Linux
|
||||||
"xbps-query -l", # Void Linux
|
|
||||||
"kiss l", # KISS Linux
|
|
||||||
"dpkg-query -f '.\n' -W", # Debian, Ubuntu, Mint
|
"dpkg-query -f '.\n' -W", # Debian, Ubuntu, Mint
|
||||||
"dnf list installed", # Fedora
|
"dnf list installed | tail -n +2", # Fedora, RHEL
|
||||||
"zypper search -i", # openSUSE
|
|
||||||
"rpm -qa", # RHEL, Fedora Core, CentOS
|
"rpm -qa", # RHEL, Fedora Core, CentOS
|
||||||
"yum list installed", # RHEL, Fedora Core, CentOS
|
"yum list installed | tail -n +2", # RHEL, Fedora Core, CentOS
|
||||||
"nix-store -qR /run/current-system/sw", # NixOS
|
"xbps-query -l", # Void Linux
|
||||||
|
"zypper search -i", # openSUSE
|
||||||
|
"kiss l", # KISS Linux
|
||||||
"equery list '*'", # Gentoo
|
"equery list '*'", # Gentoo
|
||||||
"qlist -I", # Gentoo
|
"qlist -I", # Gentoo
|
||||||
"pkg info -a", # BSDs
|
"pkg info -a", # BSDs
|
||||||
"pkg_info", # BSDs
|
"pkg_info", # BSDs
|
||||||
"apk info", # Alpine
|
"apk info", # Alpine
|
||||||
|
"nix-store -qR /run/current-system/sw", # Nix
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user