Fixed package count on FreeBSD

This commit is contained in:
Dylan 2016-01-18 16:22:21 +11:00
parent bf86605250
commit dfd4289831
1 changed files with 5 additions and 0 deletions

5
fetch
View File

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