Remove obsolete triggerruns for migration to systemd
- overlapping versions are not supported by current rpm
This commit is contained in:
parent
6286d6a8e6
commit
1d50678457
@ -660,15 +660,6 @@ getent passwd sshd >/dev/null || \
|
|||||||
%postun server
|
%postun server
|
||||||
%systemd_postun_with_restart sshd.service
|
%systemd_postun_with_restart sshd.service
|
||||||
|
|
||||||
%triggerun -n openssh-server -- openssh-server < 5.8p2-12
|
|
||||||
/usr/bin/systemd-sysv-convert --save sshd >/dev/null 2>&1 || :
|
|
||||||
/bin/systemctl enable sshd.service >/dev/null 2>&1
|
|
||||||
/sbin/chkconfig --del sshd >/dev/null 2>&1 || :
|
|
||||||
/bin/systemctl try-restart sshd.service >/dev/null 2>&1 || :
|
|
||||||
|
|
||||||
%triggerun -n openssh-server -- openssh-server < 5.9p1-22
|
|
||||||
/bin/systemctl --no-reload disable sshd-keygen.service >/dev/null 2>&1 || :
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
Loading…
Reference in New Issue
Block a user