Skip to content

Commit fca37b5

Browse files
Print xbps package count once again
#209
1 parent 2fe7476 commit fca37b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/modules/packages.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ void ffPrintPackages(FFinstance* instance)
337337

338338
ffStrbufDestroy(&baseDir);
339339

340-
uint32_t all = counts.dpkg + counts.emerge + counts.flatpak + counts.nixSystem + counts.nixDefault + nixUser + counts.pacman + counts.rpm + counts.snap + counts.xbps;
340+
uint32_t all = counts.pacman + counts.dpkg + counts.rpm + counts.emerge + counts.xbps + counts.nixSystem + nixUser + counts.nixDefault + counts.flatpak + counts.snap;
341341
if(all == 0)
342342
{
343343
ffPrintError(instance, FF_PACKAGES_MODULE_NAME, 0, &instance->config.packages, "No packages from known package managers found");
@@ -368,6 +368,7 @@ void ffPrintPackages(FFinstance* instance)
368368
FF_PRINT_PACKAGE(dpkg)
369369
FF_PRINT_PACKAGE(rpm)
370370
FF_PRINT_PACKAGE(emerge)
371+
FF_PRINT_PACKAGE(xbps)
371372

372373
if(counts.nixSystem > 0)
373374
{

0 commit comments

Comments
 (0)