From 48afe92d490394527e91077d668f0806b322854d Mon Sep 17 00:00:00 2001 From: root Date: Tue, 14 Feb 2023 09:30:42 +0800 Subject: [PATCH] fix error for uninstall cephadm --- ceph.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ceph.spec b/ceph.spec index 30943e9..ce5f180 100644 --- a/ceph.spec +++ b/ceph.spec @@ -125,7 +125,7 @@ ################################################################################# Name: ceph Version: 16.2.7 -Release: 14 +Release: 15 %if 0%{?fedora} || 0%{?rhel} || 0%{?openEuler} Epoch: 2 %endif @@ -1557,8 +1557,7 @@ exit 0 %if ! 0%{?suse_version} %postun -n cephadm -userdel -r cephadm || true -exit 0 +[$1 -ne 0] || userdel cephadm || : %endif %files -n cephadm @@ -2501,6 +2500,9 @@ exit 0 %config %{_sysconfdir}/prometheus/ceph/ceph_default_alerts.yml %changelog +* Tue Feb 14 2023 wangzengliang - 2:16.2.7-15 +- fix error for uninstall cephadm + * Thu Jan 12 2023 Wenlong Zhang - 2:16.2.7-14 - add loongarch support for ceph