Check operating system in macports
This commit is contained in:
parent
160e1a3926
commit
9c8c2003cd
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,11 @@
|
|||
# Matt Cable <wozz@wookie.net>
|
||||
#
|
||||
|
||||
# This module is for Mac OS X only.
|
||||
if [[ "$OSTYPE" != darwin* ]]; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
# Aliases
|
||||
alias pc="sudo port clean --all installed"
|
||||
alias pi="sudo port install $1"
|
||||
|
|
Loading…
Reference in a new issue