Coalesce systemd scriptlets
It is more efficient to do callout just once.
This commit is contained in:
parent
49b579271f
commit
56d18f52de
15
dnf.spec
15
dnf.spec
@ -253,22 +253,13 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%post automatic
|
%post automatic
|
||||||
%systemd_post dnf-automatic.timer
|
%systemd_post dnf-automatic.timer dnf-automatic-notifyonly.timer dnf-automatic-download.timer dnf-automatic-install.timer
|
||||||
%systemd_post dnf-automatic-notifyonly.timer
|
|
||||||
%systemd_post dnf-automatic-download.timer
|
|
||||||
%systemd_post dnf-automatic-install.timer
|
|
||||||
|
|
||||||
%preun automatic
|
%preun automatic
|
||||||
%systemd_preun dnf-automatic.timer
|
%systemd_preun dnf-automatic.timer dnf-automatic-notifyonly.timer dnf-automatic-download.timer dnf-automatic-install.timer
|
||||||
%systemd_preun dnf-automatic-notifyonly.timer
|
|
||||||
%systemd_preun dnf-automatic-download.timer
|
|
||||||
%systemd_preun dnf-automatic-install.timer
|
|
||||||
|
|
||||||
%postun automatic
|
%postun automatic
|
||||||
%systemd_postun_with_restart dnf-automatic.timer
|
%systemd_postun_with_restart dnf-automatic.timer dnf-automatic-notifyonly.timer dnf-automatic-download.timer dnf-automatic-install.timer
|
||||||
%systemd_postun_with_restart dnf-automatic-notifyonly.timer
|
|
||||||
%systemd_postun_with_restart dnf-automatic-download.timer
|
|
||||||
%systemd_postun_with_restart dnf-automatic-install.timer
|
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
|
Loading…
Reference in New Issue
Block a user