From adf3585f8a05fedc321732fc2ed8b81cdc50c108 Mon Sep 17 00:00:00 2001 From: Gleb Fotengauer-Malinovskiy Date: Fri, 17 Jun 2016 16:55:16 +0300 Subject: [PATCH] Disable fancypercents by default --- apt/apt-pkg/rpm/rpmpm.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apt/apt-pkg/rpm/rpmpm.cc b/apt/apt-pkg/rpm/rpmpm.cc index 8a2e639..8af5de9 100644 --- a/apt/apt-pkg/rpm/rpmpm.cc +++ b/apt/apt-pkg/rpm/rpmpm.cc @@ -408,6 +408,7 @@ bool pkgRPMExtPM::ExecRPM(Item::RPMOps op, vector &files) const char *operation; unsigned int n = 0; bool Interactive = _config->FindB("RPM::Interactive",true); + bool FancyPercent = _config->FindB("RPM::FancyPercent", false); int quiet = _config->FindI("quiet",0); string rpmbinary = _config->Find("Dir::Bin::rpm","rpm"); @@ -443,7 +444,7 @@ bool pkgRPMExtPM::ExecRPM(Item::RPMOps op, vector &files) if (Interactive) { Args[n++] = "-h"; - if (quiet <= 0) + if (quiet <= 0 && FancyPercent) Args[n++] = "--fancypercent"; } else {