Merge pull request #46272 from sshambar/bug-55664

cephadm: preserve cephadm user during RPM upgrade

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
This commit is contained in:
Adam King 2022-06-01 17:44:54 -04:00 committed by GitHub
commit 832457a4ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1585,8 +1585,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