Fix version detection in the Linux kickstart for Icinga 2.11
refs #1944
This commit is contained in:
parent
34a38e1f32
commit
e476282b62
|
@ -109,7 +109,7 @@ redhat)
|
|||
esac
|
||||
|
||||
icinga_version() {
|
||||
"$ICINGA2_BIN" --version 2>/dev/null | grep -oP 'version: [rv]\K\d+\.\d+\.\d+[^\)]*'
|
||||
"$ICINGA2_BIN" --version 2>/dev/null | grep -oP 'version: [rv]?\K\d+\.\d+\.\d+[^\)]*'
|
||||
}
|
||||
|
||||
icinga_major() {
|
||||
|
|
Loading…
Reference in New Issue