[meld] setup.py: Use the deb-layout hack for Debian as well (bgo#730322)



commit 7db6d7b175d36fdd2b41aadff5a0f553f3b2ae66
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Tue Sep 2 05:47:16 2014 +1000

    setup.py: Use the deb-layout hack for Debian as well (bgo#730322)

 setup.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/setup.py b/setup.py
index 9a94768..e1840af 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ import meld.conf
 
 
 if (platform.system() == 'Linux' and
-        platform.linux_distribution()[0] == 'Ubuntu'):
+        platform.linux_distribution()[0].lower() in ('debian', 'ubuntu')):
     sys.argv.append('--install-layout=deb')
 
 setup(


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]