Fixed package count on FreeBSD
This commit is contained in:
parent
bf86605250
commit
dfd4289831
1 changed files with 5 additions and 0 deletions
5
fetch
5
fetch
|
@ -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)
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue