ship functions.sfa only on non-redhat systems
Thierry Parmentelat [Fri, 18 Jan 2013 11:27:39 +0000 (12:27 +0100)]
setup.py

index 61757df..0282fb0 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -48,9 +48,8 @@ packages = [
     'sfatables/processors',
     ]
 
-initscripts = [ 'sfa', 
-                'functions.sfa',
-                ]
+initscripts = [ 'sfa' ]
+if not os.isfile('/etc/redhat-release'): initscripts.append('functions.sfa')
 
 data_files = [ ('/etc/sfa/', [ 'config/aggregates.xml',
                               'config/registries.xml',