Commits

Zhang Huangbin committed 921b7bb

Typo.

Comments (0)

Files changed (3)

iRedMail/conf/core

 
 ECHO_DEBUG()
 {
-    if [ X"${_DEBUG}" == X"YES" ]; then
+    if [ X"${IREDMAIL_DEBUG}" == X"YES" ]; then
         if [ X"$1" == X"-n" ]; then
             shift 1
             if [ X"${TERM}" == X"xterm" -o X"${TERM}" == X"linux" -o X"${TERM}" == X"pcconsole" ]; then
         for conf_file in $@; do
             if [ -f ${conf_file} ]; then
                 if [ X"${TERM}" == X"xterm" -o X"${TERM}" == X"linux" -o X"${TERM}" == X"pcconsole" ]; then
-                    if [ X"${_DEBUG}" == X"YES" ]; then
+                    if [ X"${IREDMAIL_DEBUG}" == X"YES" ]; then
                         echo -e "\033[43m${_BACKUP_FLAG}\033[0m ${conf_file} -> $(basename ${conf_file}).${DATE}."
                     fi
                 else
-                    if [ X"${_DEBUG}" == X"YES" ]; then
+                    if [ X"${IREDMAIL_DEBUG}" == X"YES" ]; then
                         echo -e "${_BACKUP_FLAG} ${conf_file} -> $(basename ${conf_file}).${DATE}."
                     fi
                 fi

iRedMail/conf/global

 export LC_ALL=C
 
 # Debug mode: YES, NO.
-export _DEBUG="${_DEBUG:=NO}"
+export IREDMAIL_DEBUG="${IREDMAIL_DEBUG:=NO}"
 
 # -----------------
 # ---- Generic ----

iRedMail/functions/packages_freebsd.sh

 
     # Cyrus-SASL2. DEPENDENCE.
     cat > /var/db/ports/cyrus-sasl2/options <<EOF
+_FILE_COMPLETE_OPTIONS_LIST= BDB MYSQL PGSQL SQLITE SQLITE3 ALWAYSTRUE AUTHDAEMOND DEV_URANDOM KEEP_DB_OPEN OBSOLETE_CRAM_ATTR CRAM DIGEST LOGIN NTLM OTP PLAIN SCRAM
 OPTIONS_FILE_SET+=BDB
 OPTIONS_FILE_UNSET+=MYSQL
 OPTIONS_FILE_UNSET+=PGSQL