Skip to content

Commit

Permalink
Merge pull request #60 from bit101/macports
Browse files Browse the repository at this point in the history
fix macports
  • Loading branch information
bit101 authored Nov 24, 2023
2 parents 7e0c115 + 1746cc9 commit 1b5ecd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions version
Original file line number Diff line number Diff line change
Expand Up @@ -372,10 +372,10 @@ try_macports() {
# macports is installed. let's try it
echo " checking macports..."

result=$(port list $1 2>/dev/null)
result=$(port installed $1 2>/dev/null)
if [ "$result" != "" ]
then
echo $result
echo $result | sed -Ene "s/^.*$1 (.*)/$1 version: \1/p"
exit
fi
}
Expand Down

0 comments on commit 1b5ecd4

Please sign in to comment.