From 68633fac5c0bb699eca4599175822dba9ebc60e0 Mon Sep 17 00:00:00 2001 From: darmac Date: Mon, 29 Jun 2020 02:26:04 +0800 Subject: redis: add config file from source code (#17225) * redis: add config file from source code * Update var/spack/repos/builtin/packages/redis/package.py Co-authored-by: Adam J. Stewart Co-authored-by: Adam J. Stewart --- var/spack/repos/builtin/packages/redis/package.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/var/spack/repos/builtin/packages/redis/package.py b/var/spack/repos/builtin/packages/redis/package.py index fa863bb4b3..d7375066fd 100644 --- a/var/spack/repos/builtin/packages/redis/package.py +++ b/var/spack/repos/builtin/packages/redis/package.py @@ -33,3 +33,8 @@ class Redis(MakefilePackage): 'PREFIX={0}'.format(self.spec.prefix), 'install' ] + + @run_after('install') + def install_conf(self): + mkdirp(self.prefix.conf) + install('redis.conf', self.prefix.conf) -- cgit v1.2.3-70-g09d2