Skip to content

OpenBSD Package Count

jschx requested to merge gigavinyl:master into master

Created by: gigavinyl

The current implementation of getting the package count using pkg_info blocks when the user is using any other pkg_* utility. So if a user is installing some packages, ufetch will just hang until the packages are done installing. I realized that counting the directories in /var/db/pkg will get the package count without blocking.

Merge request reports