Source

iredmail / iRedMail / conf / core

Diff from to

iRedMail/conf/core

     fi
 }
 
+ECHO_SKIP()
+{
+    if [ X"$1" == X"-n" ]; then
+        shift 1
+        if [ X"${TERM}" == X"xterm" -o X"${TERM}" == X"linux" -o X"${TERM}" == X"pcconsole" ]; then
+            echo -ne "\033[42m${_SKIP_FLAG}\033[0m $@"
+        else
+            echo -ne "${_SKIP_FLAG} $@"
+        fi
+    else
+        if [ X"${TERM}" == X"xterm" -o X"${TERM}" == X"linux" -o X"${TERM}" == X"pcconsole" ]; then
+            echo -e "\033[42m${_SKIP_FLAG}\033[0m $@"
+        else
+            echo -e "${_SKIP_FLAG} $@"
+        fi
+    fi
+}
 ECHO_QUESTION()
 {
     if [ X"$1" == X"-n" ]; then
     if [ X"$(eval echo \$${_status})" != X"DONE" ]; then
         $1
     else
-        if [ X"${TERM}" == X"xterm" -o X"${TERM}" == X"linux" -o X"${TERM}" == X"pcconsole" ]; then
-            echo -e "\033[46m<<< SKIP >>>\033[0m Skip function: $1."
-        else
-            echo -e "<<< SKIP >>> Skip function: $1."
-        fi
+        ECHO_SKIP "Function: $1."
     fi
 }
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.