mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 14:10:11 +01:00
Packages (OpenBSD): fix a typo that prevents package counting from working
This commit is contained in:
@@ -27,7 +27,7 @@ void ffDetectPackagesImpl(FFPackagesResult* result, FFPackagesOptions* options)
|
|||||||
if (!(options->disabled & FF_PACKAGES_FLAG_PKG_BIT))
|
if (!(options->disabled & FF_PACKAGES_FLAG_PKG_BIT))
|
||||||
{
|
{
|
||||||
result->pkg = getNumElementsImpl(FASTFETCH_TARGET_DIR_ROOT
|
result->pkg = getNumElementsImpl(FASTFETCH_TARGET_DIR_ROOT
|
||||||
#if __OpenBSD
|
#if __OpenBSD__
|
||||||
"/var/db/pkg"
|
"/var/db/pkg"
|
||||||
#else
|
#else
|
||||||
"/usr/pkg/pkgdb"
|
"/usr/pkg/pkgdb"
|
||||||
|
|||||||
Reference in New Issue
Block a user