Check operating system in macports

This commit is contained in:
Sorin Ionescu 2012-06-02 14:18:36 -04:00
parent 160e1a3926
commit 9c8c2003cd

View File

@ -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"