From c1abd02805bf19dab6183b1f22900877fd62f1e8 Mon Sep 17 00:00:00 2001 From: Sebastian Heinlein Date: Wed, 6 Jun 2012 12:20:33 +0200 Subject: Don't call fakeroot by default - this should be done by an alternate Dir::Bin::Apt-key script --- apt/auth.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/apt/auth.py b/apt/auth.py index 27365678..255d7fd4 100644 --- a/apt/auth.py +++ b/apt/auth.py @@ -52,8 +52,6 @@ def _call_apt_key_script(*args, **kwargs): """Run the apt-key script with the given arguments.""" cmd = [apt_pkg.config.find_file("Dir::Bin::Apt-Key", "/usr/bin/apt-key")] cmd.extend(args) - if os.getuid() != 0: - cmd.insert(0, "fakeroot") env = os.environ.copy() env["LANG"] = "C" if apt_pkg.config.find_dir("Dir") != "/": -- cgit v1.2.3