Skip to content

Update calculating number of installed packages

Oğuz Ersen requested to merge ersen/ufetch:fedora into master

yum is replaced by dnf since Fedora 22, and is a symbolic link to dnf now. And first line of dnf list installed command is "Installed Packages", so it is deleted with sed '1d' command to get the true number of the installed packages, instead of +1. I can change it if you have a better way to do it. Thanks.

Merge request reports