]> git.pld-linux.org Git - packages/gitlab-ce.git/commitdiff
skip rugged second install
authorElan Ruusamäe <glen@delfi.ee>
Fri, 19 Aug 2016 13:10:58 +0000 (16:10 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 19 Aug 2016 13:10:58 +0000 (16:10 +0300)
it messes up cache

gitlab-ce.spec

index 174b7f0d28350134c4c2ec3d68dafeb8d63a504c..5b1d70fdb73ef488a0215af79c93ea17f173e949 100644 (file)
@@ -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
This page took 0.098968 seconds and 4 git commands to generate.