diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2015-02-18 21:38:35 +0100 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2015-02-18 21:38:35 +0100 |
commit | 7ec0c6d2a9862491c683e711d0fe51eee3da0efe (patch) | |
tree | caf5476eebc4e5a6d8c3aaeb5718ded83d2474c0 | |
parent | fde30f19774f9b933722f9bdf33cce59df129980 (diff) | |
parent | 8a98bd83b90df24ad780419a4acd9e14f61c4d7c (diff) | |
download | fork-ledger-7ec0c6d2a9862491c683e711d0fe51eee3da0efe.tar.gz fork-ledger-7ec0c6d2a9862491c683e711d0fe51eee3da0efe.tar.bz2 fork-ledger-7ec0c6d2a9862491c683e711d0fe51eee3da0efe.zip |
Merge pull request #391 from thdox/fedora_20
Add instructions for Fedora 20.
[ci skip]
-rwxr-xr-x | acprep | 29 |
1 files changed, 27 insertions, 2 deletions
@@ -616,8 +616,8 @@ class PrepareBuild(CommandLineApp): self.execute(*packages) if exists('/etc/redhat-release'): - release = open('/etc/redhat-release') - if release.readline().startswith('CentOS'): + release = open('/etc/redhat-release').readline() + if release.startswith('CentOS'): self.log.info('Looks like you are using YUM on CentOS') packages = [ 'sudo', 'yum', 'install', @@ -648,6 +648,31 @@ class PrepareBuild(CommandLineApp): self.log.info('Looks like you are using Cygwin') self.log.info('Please install the dependencies manually.') + elif release.startswith('Fedora release 20'): + self.log.info('Looks like you are using YUM on Fedora 20') + packages = [ + 'sudo', 'yum', 'install', + 'boost-devel', + 'bzip2-devel', + 'cmake', + 'doxygen', + 'gcc', + 'gcc-c++', + 'gettext', + 'gettext-devel', + 'gmp-devel', + 'lcov', + 'libedit-devel', + 'mpfr-devel', + 'ninja-build', + 'python-devel', + 'sloccount', + 'texinfo', + 'zlib-devel' + ] + self.log.info('Executing: ' + ' '.join(packages)) + self.execute(*packages) + ######################################################################### # Determine the system's basic configuration # ######################################################################### |