mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-22 12:56:53 +00:00
Fix Debian package bash requires clause
This commit fixes the Debian package requires clause for bash. For the RPM it is okay to specify the binary, but for the Debian package the package name must be specified.
This commit is contained in:
parent
189341da10
commit
8adfd60079
@ -317,7 +317,11 @@ configure(subprojects.findAll { ['deb', 'rpm'].contains(it.name) }) {
|
||||
preUninstall file("${scripts}/prerm")
|
||||
postUninstall file("${scripts}/postrm")
|
||||
|
||||
requires('/bin/bash')
|
||||
if (project.name == 'rpm') {
|
||||
requires('/bin/bash')
|
||||
} else if (project.name == 'deb') {
|
||||
requires('bash')
|
||||
}
|
||||
|
||||
into '/usr/share/elasticsearch'
|
||||
fileMode 0644
|
||||
|
Loading…
x
Reference in New Issue
Block a user