summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 4a2320b..c425e06 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -304,8 +304,9 @@ fi
# Move legacy sysconf files to the correct sysconfdir
if [ -d /etc/glusterd ]; then
- cp -a /etc/glusterd /var/lib/
- mv /etc/glusterd /etc/glusterd.rpmsave
+ mkdir -p /var/lib
+ mv /etc/glusterd /var/lib/
+ ln -sf /var/lib/glusterd /etc/glusterd
fi
if [ -d /var/lib/glusterd/vols ]; then