Browse files

Removed extra context in solr

  • Loading branch information...
1 parent c52c57d commit 66f6755e9ca37f9b8fadbde5f471df2b86f6d867 @mtorromeo committed Dec 4, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 solr/PKGBUILD
View
6 solr/PKGBUILD
@@ -28,12 +28,12 @@ package() {
install -dm755 "$pkgdir/usr/share/solr/webapps/solr"
install -dm755 "$pkgdir/usr/lib/solr"
install -dm755 "$pkgdir/var/lib/solr"
- install -Dm0644 start.jar lib/*.jar "$pkgdir/usr/lib/solr/"
+ install -Dm644 start.jar lib/*.jar "$pkgdir/usr/lib/solr/"
install -Dm644 "$srcdir/solr.service" "$pkgdir/usr/lib/systemd/system/solr.service"
+ install -Dm644 "$srcdir/jetty-solr.xml" "$pkgdir/usr/share/solr/contexts/jetty-solr.xml"
unzip webapps/solr.war -d "$pkgdir/usr/share/solr/webapps/solr/"
rm -rf "$pkgdir/usr/share/solr/webapps/solr/META-INF"
- cp -R contexts "$pkgdir/usr/share/solr/"
sed -e 's|<dataDir>.*|<dataDir>/var/lib/solr/core0</dataDir>|' \
-i multicore/core0/conf/solrconfig.xml
@@ -50,8 +50,6 @@ package() {
ln -s /etc/solr "$pkgdir/usr/share/solr/conf"
ln -s /usr/lib/solr "$pkgdir/usr/share/solr/lib"
-
- install -m0644 "$srcdir/jetty-solr.xml" "$pkgdir/usr/share/solr/contexts/jetty-solr.xml"
}
sha256sums=('4b7ac4fdc1f1610f2d13e8dddf310e9d61620c00c463ba24e0f385a4c5c6f3ec'

0 comments on commit 66f6755

Please sign in to comment.