diff options
author | Nathan Cutler <ncutler@suse.com> | 2020-09-29 15:52:05 +0200 |
---|---|---|
committer | Nathan Cutler <ncutler@suse.com> | 2021-07-21 18:09:15 +0200 |
commit | 4506e57b7cd27853b7c94e6be3514034eb94d1d6 (patch) | |
tree | 9b05783c27d0787435b0ab6a5e0ee70b5da7d346 | |
parent | 1d80aaff7a6475a1370b323b85e1db356614378a (diff) | |
download | ceph-4506e57b7cd27853b7c94e6be3514034eb94d1d6.tar.gz |
rpm: cleanup: drop useless conditional block in %postun base
The "meat" of this conditional was ripped out by
328807f80bb6b5d1aa40631e88d755a194d5d2c2, leaving only an empty shell
behind.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 3b53003f011cfbe51d3471ab9b6cdb9a24ecd4f7)
-rw-r--r-- | ceph.spec.in | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ceph.spec.in b/ceph.spec.in index 1d18c50ae5d..0c63fcea280 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -1453,14 +1453,6 @@ fi %postun base /sbin/ldconfig %systemd_postun ceph.target -if [ $1 -ge 1 ] ; then - # Restart on upgrade, but only if "CEPH_AUTO_RESTART_ON_UPGRADE" is set to - # "yes". In any case: if units are not running, do not touch them. - SYSCONF_CEPH=%{_sysconfdir}/sysconfig/ceph - if [ -f $SYSCONF_CEPH -a -r $SYSCONF_CEPH ] ; then - source $SYSCONF_CEPH - fi -fi %pre -n cephadm getent group cephadm >/dev/null || groupadd -r cephadm |