Project

General

Profile

« Previous | Next » 

Revision 08c01c58

Added by Evgeni Golov almost 3 years ago

speedup installation of foreman by multi-threading bundle install

View differences:

debian/buster/foreman/foreman.postinst
export HOME=/usr/share/foreman
cd /usr/share/foreman
if [ -f Gemfile.lock ]; then
CMD="$BUNDLE update --local"
CMD="$BUNDLE update --jobs 4 --local"
else
CMD="$BUNDLE install --path ./vendor/ --local --no-prune"
CMD="$BUNDLE install --jobs 4 --path ./vendor/ --local --no-prune"
fi
if [ ! -z "${DEBUG}" ]; then

Also available in: Unified diff