Commit f62388a8d0621416f46af215047744a63f7a26f3
1 parent
b10e321f
Exists in
master
and in
53 other branches
Added solr schema update
(cherry picked from commit 454554c893edab7eeda085c78b983a0815925467)
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
src/pkg-rpm/colab/colab.spec
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | Summary: Collaboration platform for communities | 7 | Summary: Collaboration platform for communities |
8 | Name: %{name} | 8 | Name: %{name} |
9 | Version: %{version} | 9 | Version: %{version} |
10 | -Release: 0 | 10 | +Release: 20 |
11 | Source0: %{name}-%{version}.tar.gz | 11 | Source0: %{name}-%{version}.tar.gz |
12 | License: GPLv2 | 12 | License: GPLv2 |
13 | Group: Development/Tools | 13 | Group: Development/Tools |
@@ -227,6 +227,10 @@ if [ $1 -gt 1 ]; then | @@ -227,6 +227,10 @@ if [ $1 -gt 1 ]; then | ||
227 | systemctl try-restart colab | 227 | systemctl try-restart colab |
228 | fi | 228 | fi |
229 | 229 | ||
230 | +colab-admin build_solr_schema > /var/tmp/schema.xml | ||
231 | +mv -f /var/tmp/schema.xml /usr/share/solr/example/solr/collection1/conf/schema.xml | ||
232 | +systemctl restart solr | ||
233 | + | ||
230 | systemctl daemon-reload | 234 | systemctl daemon-reload |
231 | 235 | ||
232 | %preun | 236 | %preun |