Commit 454554c893edab7eeda085c78b983a0815925467

Authored by Sergio Oliveira
1 parent 12664f27

Added solr schema update

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 Summary: Collaboration platform for communities
8 8 Name: %{name}
9 9 Version: %{version}
10   -Release: 19
  10 +Release: 20
11 11 Source0: %{name}-%{version}.tar.gz
12 12 License: GPLv2
13 13 Group: Development/Tools
... ... @@ -227,6 +227,10 @@ if [ $1 -gt 1 ]; then
227 227 systemctl try-restart colab
228 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 234 systemctl daemon-reload
231 235  
232 236 %preun
... ...