packages: refactor

This commit is contained in:
Dylan Araps 2018-06-02 14:52:08 +10:00
parent 4bc2a23a46
commit 75f845c7af
1 changed files with 2 additions and 2 deletions

View File

@ -1307,8 +1307,8 @@ get_packages() {
;;
"Mac OS X" | "MINIX")
pkgs "port" "$(port installed | wc -l) - 1)"
pkgs "brew" "$(find /usr/local/Cellar -maxdepth 1 | wc -l) - 1)"
pkgs "port" "$(port installed | wc -l) - 1"
pkgs "brew" "$(find /usr/local/Cellar -maxdepth 1 | wc -l) - 1"
pkgs "pkgin" "$(pkgin list | wc -l)"
;;