fix error for uninstall cephadm

This commit is contained in:
root 2023-02-14 09:30:42 +08:00 committed by wangzengliang1
parent 053189bc65
commit 48afe92d49

View File

@ -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<wangzengliang2@huawei.com> - 2:16.2.7-15
- fix error for uninstall cephadm
* Thu Jan 12 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 2:16.2.7-14
- add loongarch support for ceph