remove Gemfile.lock if found
This commit is contained in:
parent
ac540fdb5a
commit
aff3e6f134
2 changed files with 6 additions and 2 deletions
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -1,6 +1,7 @@
|
|||
gitlab (8.4.0+dfsg-2) UNRELEASED; urgency=medium
|
||||
|
||||
* Add systemd units (Closes: #812841)
|
||||
* Remove Gemfile.lock if found before bundle install (Closes: #813550)
|
||||
|
||||
-- Pirate Praveen <praveen@debian.org> Thu, 04 Feb 2016 13:34:56 +0530
|
||||
|
||||
|
|
3
debian/postinst
vendored
3
debian/postinst
vendored
|
@ -85,6 +85,9 @@ case "$1" in
|
|||
# Adjust database privileges
|
||||
. /usr/lib/gitlab/scripts/grantpriv.sh
|
||||
|
||||
# Remove Gemfile.lock if present
|
||||
rm -f ${gtilab_home}/Gemfile.lock
|
||||
|
||||
echo "Verifying we have all required libraries..."
|
||||
su ${gitlab_user} -s /bin/sh -c 'bundle install --local'
|
||||
|
||||
|
|
Loading…
Reference in a new issue