i-nex / I-Nex

System information tool written in gambas3, python, bash
http://i-nex.linux.pl/
174 stars 24 forks source link

Check button on System tab shows "0 Packages are installed" #14

Closed alphastar868 closed 8 years ago

alphastar868 commented 8 years ago

Discovered a bug with the Check button that causes the field to show "0 Packages are installed" on non-dpkg systems (e.g. CentOS).

Modifying the Shell grep on line 777 of Finfosys.class to run conditionally allows the subsequent IsNull to be True for rpm-based systems.

Will post this patch to #13 as well.

eloaders commented 8 years ago

Fixed: https://github.com/eloaders/I-Nex/commit/5813d16340787a2287513f65755b3caa9599ef86