This commit is contained in:
David Tomaschik
2015-11-18 00:16:29 -08:00
parent fc3903003e
commit 0ce708d0ec

View File

@@ -65,11 +65,19 @@ function install_git {
fi
}
function add_bin_symlink {
local LINKNAME=${2:-`basename $1`}
ln -s ${1} ${HOME}/bin/${LINKNAME}
}
function postinstall {
# Install Vundle plugins
if [[ -d $HOME/.vim/bundle/Vundle.vim ]] ; then
vim +VundleInstall +qall
fi
# Install other useful tools
install_git https://github.com/trustedsec/ptf.git ${HOME}/bin/ptframework && \
add_bin_symlink ${HOME}/bin/ptframework/ptf
}
function ssh_key_already_installed {