summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2016-11-11 00:39:52 +0100
committerGuillem Jover <guillem@debian.org>2016-11-11 02:34:17 +0100
commita50ea56e8a040e305b0cf4f9248262a60ff1b3e5 (patch)
tree5390eda2a8980454caafa6e4a64666afc1a8c261 /lib
parent89b80a3da82ea5b10b1500d6c531432d0ce585a5 (diff)
downloaddpkg-a50ea56e8a040e305b0cf4f9248262a60ff1b3e5.tar.gz
libdpkg, scripts: Change default color behavior to auto
Our test run with the setting activated by apt, has not shown any signs of pitch forks nor angry mobs. Let's switch this by default to auto, so that the more clear but still hopefully unobtrusive colors can help people deal with interesting messages, warnings or error conditions.
Diffstat (limited to 'lib')
-rw-r--r--lib/dpkg/color.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dpkg/color.c b/lib/dpkg/color.c
index 21b804407..b8af67bc5 100644
--- a/lib/dpkg/color.c
+++ b/lib/dpkg/color.c
@@ -59,7 +59,7 @@ color_enabled(void)
mode = getenv("DPKG_COLORS");
if (mode == NULL)
- mode = "never";
+ mode = "auto";
return color_set_mode(mode);
}