mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 12:36:23 -07:00
Update v-add-srs-support-to-exim
This commit is contained in:
parent
0f71df9a95
commit
74fecc45d3
1 changed files with 2 additions and 3 deletions
|
@ -15,10 +15,9 @@ gen_pass() {
|
|||
}
|
||||
|
||||
eximversion=$(exim4 --version | grep '^Exim version ' | awk '{print $3}')
|
||||
eximversioni="${eximversion%%[^0-9]+([0-9])}"
|
||||
eximversionf="${eximversion##+([0-9])[^0-9]}"
|
||||
if [ "$eximversioni" -eq 4 ] && [ "$eximversionf" -lt 96 ]; then
|
||||
if (( $(echo "$eximversion < 4.96" | bc -l) )); then
|
||||
echo "= ERROR: Exim SRS support requires Exim 4.96 or higher."
|
||||
echo "You have Exim $eximversion"
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue