summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index dd584b8252f..7b45825afd4 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -308,7 +308,8 @@ fi
# Move legacy sysconf files to the correct sysconfdir
if [ -d /etc/glusterd ]; then
mkdir -p /var/lib
- mv /etc/glusterd /var/lib/
+ cp -a /etc/glusterd /var/lib
+ rm -rf /etc/glusterd
ln -sf /var/lib/glusterd /etc/glusterd
fi