remove Gemfile.lock if found
This commit is contained in:
parent
ac540fdb5a
commit
aff3e6f134
2 changed files with 6 additions and 2 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,6 +1,7 @@
|
|||
gitlab (8.4.0+dfsg-2) UNRELEASED; urgency=medium
|
||||
|
||||
* Add systemd units (Closes: #812841)
|
||||
* 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
|
||||
|
||||
|
|
5
debian/postinst
vendored
5
debian/postinst
vendored
|
@ -84,7 +84,10 @@ 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