Added beef installation

This commit is contained in:
Michael Rodler 2016-05-04 19:56:08 +02:00
parent 8fecb78387
commit 2dd9da840c
2 changed files with 30 additions and 0 deletions

6
beef/install Normal file
View file

@ -0,0 +1,6 @@
#!/bin/bash
git clone --depth 1 https://github.com/beefproject/beef
cd beef
bundle

24
beef/install-root Normal file
View file

@ -0,0 +1,24 @@
#!/bin/bash -e
case "$DISTRI" in
debian)
echo "Need to get ruby with RVM... Unsupported for now"
exit 1
apt-get install build-essential openssl libreadline6 \
libreadline6-dev zlib1g zlib1g-dev libssl-dev \
libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 \
libxml2-dev libxslt1-dev autoconf libc6-dev \
libncurses5-dev automake libtool bison subversion
;;
archlinux)
pacman -Syu --noconfirm --needed \
ruby python2 ruby-bundler \
git make gcc openssl patch readline \
zlib libyaml libffi bzip2 autoconf automake \
libtool bison sqlite
;;
*)
echo "Unsupported distribution"
exit 1
;;
esac