[packages/gitlab-ce] skip rugged second install

glen glen at pld-linux.org
Sun Aug 21 00:02:39 CEST 2016


commit de0b00231d9a34a50e981ac9ab528833ccb1f791
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Aug 19 16:10:58 2016 +0300

    skip rugged second install
    
    it messes up cache

 gitlab-ce.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gitlab-ce.spec b/gitlab-ce.spec
index 174b7f0..5b1d70f 100644
--- a/gitlab-ce.spec
+++ b/gitlab-ce.spec
@@ -138,6 +138,7 @@ bundle install %{_smp_mflags} \
 # install newer rugged to fix diff view showing garbage
 # https://gitlab.com/gitlab-org/gitlab-ce/issues/14972
 v=0.25.0b6
+test -d vendor/bundle/ruby/gems/rugged-$v || \
 bundle exec gem install -v $v rugged --no-rdoc --no-ri --verbose
 
 # precompile assets
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gitlab-ce.git/commitdiff/2243193cc038df38271c5490b2c308b2882e07c9



More information about the pld-cvs-commit mailing list