diff --git a/install.sh b/install.sh index 176be05..ce37d39 100755 --- a/install.sh +++ b/install.sh @@ -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 {