Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
PT-3151: Upgrading the RPM installation does not add the ORPHANET index
Browse files Browse the repository at this point in the history
Fixed
  • Loading branch information
sdumitriu committed Mar 21, 2017
1 parent 6ff9e81 commit 9d2706f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distribution/rpm/src/main/scripts/postinstall
Expand Up @@ -11,8 +11,8 @@ else
# Upgrade, update all Solr core configurations and only update specific Solr indexes
unzip -q -d /var/lib/phenotips/next/solr /var/lib/phenotips/next/solr-config*.jar
mv -t /var/lib/phenotips/data/solr/ /var/lib/phenotips/next/solr/solr.xml
rm -rf /var/lib/phenotips/data/solr/hpo/ /var/lib/phenotips/data/solr/omim/ /var/lib/phenotips/data/solr/ethnicity/ /var/lib/phenotips/data/solr/hgnc/ /var/lib/phenotips/data/solr/chebi/
mv -t /var/lib/phenotips/data/solr/ /var/lib/phenotips/next/solr/hpo/ /var/lib/phenotips/next/solr/omim/ /var/lib/phenotips/next/solr/ethnicity /var/lib/phenotips/next/solr/hgnc
rm -rf /var/lib/phenotips/data/solr/hpo/ /var/lib/phenotips/data/solr/omim/ /var/lib/phenotips/data/solr/ethnicity/ /var/lib/phenotips/data/solr/hgnc/ /var/lib/phenotips/data/solr/chebi/ /var/lib/phenotips/data/solr/ordo/
mv -t /var/lib/phenotips/data/solr/ /var/lib/phenotips/next/solr/hpo/ /var/lib/phenotips/next/solr/omim/ /var/lib/phenotips/next/solr/ethnicity /var/lib/phenotips/next/solr/hgnc /var/lib/phenotips/next/solr/ordo
if [[ -d /var/lib/phenotips/data/solr/patients/ ]]
then
rm -rf /var/lib/phenotips/data/solr/patients/conf/
Expand Down

0 comments on commit 9d2706f

Please sign in to comment.