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