diff options
| -rw-r--r-- | apt/auth.py | 2 |
1 files changed, 0 insertions, 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") != "/": |
