File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 33exec 10>&1
44exec > /dev/null 2>&1
55
6- # split version number into semvar parts
7- read -r MAJOR MINOR PATCH <<< $( echo ${PHPIPAM_VERSION# v} | tr . " " )
8-
96function info() {
107 echo " ${@ } " >&10
118}
1916
2017if " ${DOCKER_CMD} " ps | grep -q phpipam_test_webserver && ! eval " ${MYSQL_PING} " ; then
2118
22- if [[ $( echo " ${PHPIPAM_VERSION:- v1.4.4} " | sed -E ' s/v[0-9]?.([0-9]?).[0-9]?/\1/g' ) -ge 7 ]] ; then
23- if [[ ${MINOR} -ge 7 ]] ; then
19+ if [[ $( echo ${PHPIPAM_VERSION:- v1.4.4} | sed -E ' s/v[0-9]?.([0-9]?).[0-9]?/\1/g' ) -ge 7 ]] ; then
2420 info " Running version 1.7.0 or above, patching config"
2521 ${DOCKER_CMD} exec -t phpipam_test_webserver sh -c ' sed -i "s/api_stringify_results = false/api_stringify_results = true/g" /phpipam/config.dist.php'
2622 fi
You can’t perform that action at this time.
0 commit comments