summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/redis/package.py5
1 files changed, 5 insertions, 0 deletions
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)