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 0c2b5b344ce..8d017484010 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