Lines 171-182
Link Here
|
171 |
# need to know which PHP version is being used and where the PHP binaries/data |
171 |
# need to know which PHP version is being used and where the PHP binaries/data |
172 |
# are installed. |
172 |
# are installed. |
173 |
has_php() { |
173 |
has_php() { |
174 |
# If PHP_PKG is already set, then we have remembered our PHP settings |
|
|
175 |
# from last time |
176 |
if [[ -n ${PHP_PKG} ]] ; then |
177 |
return |
178 |
fi |
179 |
|
180 |
if [[ -z ${PHP_VERSION} ]] ; then |
174 |
if [[ -z ${PHP_VERSION} ]] ; then |
181 |
# Detect which PHP version we have installed |
175 |
# Detect which PHP version we have installed |
182 |
if has_version '=dev-lang/php-5*' ; then |
176 |
if has_version '=dev-lang/php-5*' ; then |