[DRE-commits] [gitlab] 06/13: remove Gemfile.lock if found
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Thu Feb 4 11:02:13 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository gitlab.
commit aff3e6f13440b39d35cafacc3e4c8333f15ef0ab
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Thu Feb 4 14:49:51 2016 +0530
remove Gemfile.lock if found
---
debian/changelog | 3 ++-
debian/postinst | 5 ++++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 8ffcda1..1dcc70a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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 at debian.org> Thu, 04 Feb 2016 13:34:56 +0530
diff --git a/debian/postinst b/debian/postinst
index 383cdf4..e9a5d81 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -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'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git
More information about the Pkg-ruby-extras-commits
mailing list