Fix port self-update

This commit is contained in:
Ian 2014-03-27 17:20:55 -07:00
parent 5867686e88
commit 9c42ce6015

View File

@ -136,7 +136,7 @@ package_update () {
elif [ "$PACKAGE_MANAGER" == 'yum' ]; then elif [ "$PACKAGE_MANAGER" == 'yum' ]; then
yum check-update -y yum check-update -y
elif [ "$PACKAGE_MANAGER" == 'port' ]; then elif [ "$PACKAGE_MANAGER" == 'port' ]; then
port self-update port selfupdate
elif [ "$PACKAGE_MANAGER" == 'brew' ]; then elif [ "$PACKAGE_MANAGER" == 'brew' ]; then
brew update brew update
else else
@ -358,4 +358,4 @@ function set_installed () {
mkdir -p ~/.shoestrap/installed mkdir -p ~/.shoestrap/installed
touch ~/.shoestrap/installed/$name touch ~/.shoestrap/installed/$name
} }