Skip to content

Apache Lucene open-source search software

SOLR-8486: No longer require jar/unzip for bin/solr

Jan Høydahld478d7a29392
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index e92e36e3146..54f8daee853 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -424,6 +424,8 @@ Other Changes
* SOLR-8481: TestSearchPerf no longer needs to duplicate SolrIndexSearcher.(NO_CHECK_QCACHE|NO_CHECK_FILTERCACHE)
(Christine Poerschke)
+* SOLR-8486: No longer require jar/unzip for bin/solr (Steven E. Harris, janhoy)
+
================== 5.4.0 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
diff --git a/solr/bin/solr b/solr/bin/solr
index 175f420d57c..904c2c389e1 100755
--- a/solr/bin/solr
+++ b/solr/bin/solr
@@ -49,15 +49,6 @@ SOLR_SCRIPT="$0"
verbose=false
THIS_OS=`uname -s`
-if hash jar 2>/dev/null ; then # hash returns true if jar is on the path
- UNPACK_WAR_CMD=("$(command -v jar)" xf)
-elif hash unzip 2>/dev/null ; then # hash returns true if unzip is on the path
- UNPACK_WAR_CMD=("$(command -v unzip)" -q)
-else
- echo -e "This script requires extracting a WAR file with either the jar or unzip utility, please install these utilities or contact your administrator for assistance."
- exit 1
-fi
-
stop_all=false
# for now, we don't support running this script from cygwin due to problems