Fix package issue on Mac OS X

This commit is contained in:
dylan araps 2016-01-04 14:38:38 +11:00
parent cfa089e801
commit 94cac0676f

View file

@ -305,7 +305,7 @@ getpackages () {
packages="$(pkginfo -i | wc -l)"
;;
"Mac OS X")
"Mac OS X"*)
packages="$(pkgutil --pkgs | wc -l)"
packages=${packages//[[:blank:]]/}
;;