Skip to content

Commit

Permalink
Merge pull request #17 from mutageneral/patch-1
Browse files Browse the repository at this point in the history
Fix package count for openSUSE. 3.7
  • Loading branch information
q60 authored Mar 19, 2023
2 parents 1002332 + 4c4f350 commit 932b053
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions disfetch
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ packages_haiku() { pkgman search -ia 2>/dev/null |
packages_nix() { nix-store -q --requisites ~/.nix-profile 2>/dev/null | wc -l; }
packages_pacman() { pacman -Qq 2>/dev/null | wc -l; }
packages_rpm() { rpm -qa 2>/dev/null | wc -l; }
packages_zypper() { zypper se --installed-only 2>/dev/null | wc -l; }
packages_slack() { find /var/log/packages -mindepth 1 -maxdepth 1 2>/dev/null |
wc -l; }
packages_xbps() { xbps-query -l 2>/dev/null | wc -l; }
Expand All @@ -253,13 +252,12 @@ PACKAGES="$(
packages_dpkg;;
arc*|artix*|endeavour*|manjaro*|garuda*|msys2*|parabola*)
packages_pacman;;
fedora*|qubes*|cent*|redhat*) packages_rpm;;
fedora*|qubes*|cent*|redhat*|opensuse*) packages_rpm;;
gentoo*) packages_emerge;;
haiku*) packages_haiku;;
nixos*) packages_nix;;
slack*) packages_slack;;
void*) packages_xbps;;
opensuse*) packages_opensuse;;
esac
)"

Expand Down

0 comments on commit 932b053

Please sign in to comment.