diff options
Diffstat (limited to 'ceph.spec.in')
-rw-r--r-- | ceph.spec.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ceph.spec.in b/ceph.spec.in index bcb1214cc93..adad6aca840 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -365,7 +365,7 @@ fi %endif # Package removal cleanup if [ "$1" -eq "0" ] ; then - rm -rf /var/log/ceph + rm -rf /var/log/ceph rm -rf /etc/ceph fi @@ -516,6 +516,7 @@ fi %{_mandir}/man8/radosgw.8* %{_mandir}/man8/radosgw-admin.8* %{_sbindir}/rcceph-radosgw +%dir %{_localstatedir}/log/radosgw/ %post radosgw /sbin/ldconfig @@ -534,6 +535,11 @@ fi %restart_on_update ceph-radosgw %insserv_cleanup %endif +# Package removal cleanup +if [ "$1" -eq "0" ] ; then + rm -rf /var/log/radosgw +fi + ################################################################################# %if %{with ocf} |