GitHub user Mandalka opened a pull request:

    https://github.com/apache/lucene-solr/pull/305

    SOLR-11853: Make check for used tool "service" compatible with SuSE Linux

    On current SuSE Linux releases like SLES or OpenSuSE the Solr installer 
stops with the error message "Script requires the 'service' command".
    
    This happens because before installation the installer checks if the used 
command "service" exists by its option "service --version".
    
    The command line option "--version" doesn't exist for "service" on current 
SuSE Linux stable releases.
    
    Since the command "service" is there and has an option "--help", this 
option can be used as additional fallback.
    
    So in the pull request i extended the check with "service --help" as second 
check / fallback before printing this error and exiting.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Mandalka/lucene-solr master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/305.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #305
    
----
commit 0aa573740b55027192440fc5997a93945ca9b9b3
Author: Markus Mandalka <github@...>
Date:   2018-01-14T02:14:47Z

    Make check for used tool 'service' compatible with SuSE Linux like OpenSuse 
or SLES

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to