From 1e3b254fc94049e7e37a5ebff09b756a94d06217 Mon Sep 17 00:00:00 2001 From: 0xmachos <0xmachos@gmail.com> Date: Fri, 9 Mar 2018 13:23:01 +0000 Subject: [PATCH] Convert bundle install steps to function --- install | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/install b/install index ca079f93e5..da60fda03e 100755 --- a/install +++ b/install @@ -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