Sha256: 7a49fe5d0c636a84a837be709d1a49fe17168918f4d39cf4c26b5bfd06ed611b

Contents?: true

Size: 460 Bytes

Versions: 4

Compression:

Stored size: 460 Bytes

Contents

#!/usr/bin/env bash
set -e

project=robit

if ! hash bundle ; then
  echo 'Could not run `bundle`, fixing that for you...'
  gem install bundler || gem2.2 install bundler
fi

cd /opt/$project
bundle install --without development:test:spec --local --deployment

useradd --user-group --system -M --shell /bin/false $project || true

for d in /opt/$project /etc/$project /var/log/$project /var/data/$project ; do
  mkdir -p $d
  chown -R $project:$project $d
done

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
robit-1.0.8 tasks/package/post-install.sh
robit-1.0.7 tasks/package/post-install.sh
robit-1.0.6 tasks/package/post-install.sh
robit-1.0.5 tasks/package/post-install.sh