Try to fix mageia build.
authorCarl Hetherington <cth@carlh.net>
Mon, 9 Oct 2017 22:41:54 +0000 (23:41 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 9 Oct 2017 22:41:54 +0000 (23:41 +0100)
cscript

diff --git a/cscript b/cscript
index edeaf00..519e0d8 100644 (file)
--- a/cscript
+++ b/cscript
@@ -416,7 +416,7 @@ def package(target, version):
 
         if target.distro == 'debian' or target.distro == 'ubuntu':
             return package_debian(target, cpu, version)
-        elif target.distro == 'centos' or target.distro == 'fedora':
+        elif target.distro == 'centos' or target.distro == 'fedora' or target.distro == 'mageia':
             return package_rpm(target, cpu, version)
     elif target.platform == 'osx':
         target.command('bash platform/osx/make_dmg.sh %s' % target.directory)