[DRE-commits] [redmine] 01/01: Gemfile.lock: handle the case where dependencies are being upgraded.
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun May 3 22:24:06 UTC 2015
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository redmine.
commit 947219f4cf5a437f1f3ea14c78ecf821b0e2bf9a
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sun May 3 19:22:09 2015 -0300
Gemfile.lock: handle the case where dependencies are being upgraded.
---
debian/changelog | 7 +++++++
debian/postinst | 1 +
2 files changed, 8 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index d6de741..2a4ccc5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+redmine (3.0~20140825-7) unstable; urgency=medium
+
+ * debian/postinst: always remove and recreate Gemfile.lock to handle the
+ case where dependencies are being upgraded.
+
+ -- Antonio Terceiro <terceiro at debian.org> Sun, 03 May 2015 19:18:34 -0300
+
redmine (3.0~20140825-6) unstable; urgency=medium
* debian/doc/examples/apache2-host.conf: fix typo in package name user is
diff --git a/debian/postinst b/debian/postinst
index c2a3462..0abb494 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -11,6 +11,7 @@ RAKE_VERBOSE=false
. /usr/share/debconf/confmodule
# update Gemfile.lock, always
+rm -f /var/lib/redmine/Gemfile.lock
(cd /usr/share/redmine && bundle --local --quiet)
chown www-data:www-data /var/lib/redmine/Gemfile.lock
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/redmine.git
More information about the Pkg-ruby-extras-commits
mailing list