From 1ee865fefdd5267c2ada84cc370f2005b6b1a5b6 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Sun, 28 Dec 2014 15:01:39 +0100 Subject: Install apt.conf configuration on derivatives too Closes: #761054 --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7e7ed00..cdadd50 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,8 @@ data_files = [] try: import lsb_release - if lsb_release.get_distro_information()['ID'] in [ 'Debian' ]: + if (lsb_release.get_distro_information()['ID'] in [ 'Debian' ] or + os.path.exists('/etc/debian_version')): data_files = [('../etc/apt/apt.conf.d/', ['apt/50whatmaps_apt']), ('../etc/apt/apt.conf.d/', -- cgit v1.2.3