Fix package issue on Mac OS X
This commit is contained in:
parent
cfa089e801
commit
94cac0676f
2
fetch.sh
2
fetch.sh
|
@ -305,7 +305,7 @@ getpackages () {
|
||||||
packages="$(pkginfo -i | wc -l)"
|
packages="$(pkginfo -i | wc -l)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Mac OS X")
|
"Mac OS X"*)
|
||||||
packages="$(pkgutil --pkgs | wc -l)"
|
packages="$(pkgutil --pkgs | wc -l)"
|
||||||
packages=${packages//[[:blank:]]/}
|
packages=${packages//[[:blank:]]/}
|
||||||
;;
|
;;
|
||||||
|
|
Reference in New Issue