[pacman-dev] [PATCH] makepkg: pass "--nocolor" to pacman

Allan McRae allan at archlinux.org
Sun May 25 00:07:21 EDT 2014


From: Andrew DeMaria <lostonamountain at gmail.com>

FS#39982.

Signed-off-by: Allan McRae <allan at archlinux.org>
---
 scripts/makepkg.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index de92e93..ac97c5b 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -2718,7 +2718,7 @@ while true; do
 		-i|--install)     INSTALL=1 ;;
 		--key)            shift; GPGKEY=$1 ;;
 		-L|--log)         LOGGING=1 ;;
-		-m|--nocolor)     USE_COLOR='n' ;;
+		-m|--nocolor)     USE_COLOR='n'; PACMAN_OPTS+=" --color never" ;;
 		--noarchive)      NOARCHIVE=1 ;;
 		--nocheck)        RUN_CHECK='n' ;;
 		--noprepare)      RUN_PREPARE='n' ;;
-- 
1.9.3



More information about the pacman-dev mailing list