packages: cleanup

This commit is contained in:
Dylan Araps 2018-06-02 13:54:17 +10:00
parent d02c590ff7
commit ffcf82d10d

View file

@ -1337,9 +1337,6 @@ get_packages() {
;; ;;
"Mac OS X" | "MINIX") "Mac OS X" | "MINIX")
[[ -d "/usr/local/bin" ]] && \
packages="$(($(ls -l /usr/local/bin/ | grep -cv "\(../Cellar/\|brew\)") - 1))"
type -p port >/dev/null && \ type -p port >/dev/null && \
((packages+=$(port installed | wc -l) - 1)) ((packages+=$(port installed | wc -l) - 1))