From: Thierry Parmentelat Date: Fri, 18 Jan 2013 11:27:39 +0000 (+0100) Subject: ship functions.sfa only on non-redhat systems X-Git-Tag: sfa-2.1-23~4 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=490cbd1e7e6372dea6827d142ccd4d9633c0511e ship functions.sfa only on non-redhat systems --- diff --git a/setup.py b/setup.py index 61757df2..0282fb0c 100755 --- 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',