Convert bundle install steps to function

This commit is contained in:
0xmachos
2018-03-09 13:23:01 +00:00
parent 2d3010dc0b
commit 1e3b254fc9

28
install
View File

@@ -119,15 +119,23 @@ else
gem install bundler
fi
echo "Installing required Ruby gems..."
bundle install --without test development
}
install_beef () {
echo "Installing required Ruby gems..."
bundle install --without test development
echo
echo "=========================================="
echo
info "Install completed successfully!"
info "Run './beef' to launch BeEF"
echo
echo "=========================================="
echo
}
echo
echo "=========================================="
echo
info "Install completed successfully!"
info "Run './beef' to launch BeEF"
echo
echo "=========================================="
echo