summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2015-02-25 22:01:33 -0700
committerCraig Earls <enderw88@gmail.com>2015-02-25 22:01:33 -0700
commit1f803d629491991afb8aa9cd1d159313b2af78c7 (patch)
tree4eb6f0f90162f4808d0687a06ad1a698eb3ed035 /acprep
parentfe48f607be7b9da8d2c4ac1fb30078dea55b8240 (diff)
parentaf0da737fc4ef8f9ccebd3d43519610b8a8fcaa1 (diff)
downloadfork-ledger-1f803d629491991afb8aa9cd1d159313b2af78c7.tar.gz
fork-ledger-1f803d629491991afb8aa9cd1d159313b2af78c7.tar.bz2
fork-ledger-1f803d629491991afb8aa9cd1d159313b2af78c7.zip
Merge commit 'af0da737fc4ef8f9ccebd3d43519610b8a8fcaa1' into next
Conflicts: lisp/ledger-reconcile.el
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep29
1 files changed, 27 insertions, 2 deletions
diff --git a/acprep b/acprep
index 9e661aad..275f2c84 100755
--- a/acprep
+++ b/acprep
@@ -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',
@@ -644,6 +644,31 @@ class PrepareBuild(CommandLineApp):
]
self.log.info('Executing: ' + ' '.join(packages))
self.execute(*packages)
+ 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)
+
elif system.startswith('CYGWIN'):
self.log.info('Looks like you are using Cygwin')
self.log.info('Please install the dependencies manually.')