Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use echo instead of installed
Slightly better performance.
  • Loading branch information
jmroot committed Feb 12, 2017
1 parent c9a5a15 commit 98c280c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpbb-cleanup
Expand Up @@ -30,7 +30,7 @@ cleanup() {
echo "----> Deactivating ports"
# $option_prefix is set by mpbb
# shellcheck disable=SC2154
if [ -n "$("${option_prefix}/bin/port" -q installed active)" ]; then
if [ -n "$("${option_prefix}/bin/port" -q echo active)" ]; then
"${option_prefix}/bin/port" -fp deactivate active
fi
echo
Expand Down

0 comments on commit 98c280c

Please sign in to comment.