From 0154fd425f7c6dad506df09d90ec0e7bf882dec3 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Sun, 12 Nov 2017 17:17:11 +0900 Subject: [PATCH] update comments Signed-off-by: Teddysun --- include/upgrade_php.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/upgrade_php.sh b/include/upgrade_php.sh index 8a519df..c7cda32 100644 --- a/include/upgrade_php.sh +++ b/include/upgrade_php.sh @@ -105,7 +105,11 @@ upgrade_php(){ with_gd="--with-gd --with-jpeg-dir --with-png-dir --with-xpm-dir --with-freetype-dir" fi - [ -d ${depends_prefix}/imap ] && with_imap="--with-imap=${depends_prefix}/imap" || with_imap="--with-imap --with-kerberos" + if [ -d ${depends_prefix}/imap ]; then + with_imap="--with-imap=${depends_prefix}/imap" + else + with_imap="--with-imap --with-kerberos" + fi is_64bit && with_libdir="--with-libdir=lib64" || with_libdir="" php_configure_args="--prefix=${php_location} \