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
1 changed files with 1 additions and 1 deletions

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:]]/}
;;