Skip to content

Commit 932b053

Browse files
authored
Merge pull request #17 from mutageneral/patch-1
Fix package count for openSUSE. 3.7
2 parents 1002332 + 4c4f350 commit 932b053

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

disfetch

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ packages_haiku() { pkgman search -ia 2>/dev/null |
238238
packages_nix() { nix-store -q --requisites ~/.nix-profile 2>/dev/null | wc -l; }
239239
packages_pacman() { pacman -Qq 2>/dev/null | wc -l; }
240240
packages_rpm() { rpm -qa 2>/dev/null | wc -l; }
241-
packages_zypper() { zypper se --installed-only 2>/dev/null | wc -l; }
242241
packages_slack() { find /var/log/packages -mindepth 1 -maxdepth 1 2>/dev/null |
243242
wc -l; }
244243
packages_xbps() { xbps-query -l 2>/dev/null | wc -l; }
@@ -253,13 +252,12 @@ PACKAGES="$(
253252
packages_dpkg;;
254253
arc*|artix*|endeavour*|manjaro*|garuda*|msys2*|parabola*)
255254
packages_pacman;;
256-
fedora*|qubes*|cent*|redhat*) packages_rpm;;
255+
fedora*|qubes*|cent*|redhat*|opensuse*) packages_rpm;;
257256
gentoo*) packages_emerge;;
258257
haiku*) packages_haiku;;
259258
nixos*) packages_nix;;
260259
slack*) packages_slack;;
261260
void*) packages_xbps;;
262-
opensuse*) packages_opensuse;;
263261
esac
264262
)"
265263

0 commit comments

Comments
 (0)