ship functions.sfa only on non-redhat systems
[sfa.git] / 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',