Commit 899d3bc5 authored by Dylan Araps's avatar Dylan Araps

Fix error with string

parent d707df39
...@@ -717,7 +717,7 @@ getpackages () { ...@@ -717,7 +717,7 @@ getpackages () {
packages="$(("$(ls -l /usr/local/bin/ | grep -v "\(../Cellar/\|brew\)" | wc -l)" - 1))" packages="$(("$(ls -l /usr/local/bin/ | grep -v "\(../Cellar/\|brew\)" | wc -l)" - 1))"
type -p port >/dev/null 2>&1 && \ type -p port >/dev/null 2>&1 && \
packages="$((packages + :$(port installed 2>/dev/null | wc -l) - 1))" packages="$((packages + "$(port installed 2>/dev/null | wc -l)" - 1))"
type -p brew >/dev/null 2>&1 && \ type -p brew >/dev/null 2>&1 && \
packages="$((packages + "$(find /usr/local/Cellar -maxdepth 1 2>/dev/null | wc -l)" - 1))" packages="$((packages + "$(find /usr/local/Cellar -maxdepth 1 2>/dev/null | wc -l)" - 1))"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment