aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-12-28 15:01:39 +0100
committerGuido Günther <agx@sigxcpu.org>2014-12-28 15:03:58 +0100
commit1ee865fefdd5267c2ada84cc370f2005b6b1a5b6 (patch)
tree7a97250c49e3cc1594b90aac50f980c677fc3a86
parent9b32d5e86ef7ad4b4e802ec8fb16b21fb47d45b8 (diff)
Install apt.conf configuration on derivatives toov0.0.9
Closes: #761054
-rw-r--r--setup.py3
1 files changed, 2 insertions, 1 deletions
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/',