Fixed package count on FreeBSD

This commit is contained in:
Dylan 2016-01-18 16:22:21 +11:00
parent bf86605250
commit dfd4289831

5
fetch
View file

@ -470,6 +470,11 @@ getpackages () {
fi
;;
"FreeBSD")
packages=$(pkg info | wc -l)
packages=${packages// }
;;
*"BSD")
packages=$(pkg_info | wc -l)
;;