fix previous commit

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1196
This commit is contained in:
Franck Bui 2021-10-05 13:00:46 +00:00 committed by Git OBS Bridge
parent c6b3f079ef
commit 1f9e275259
2 changed files with 2 additions and 2 deletions

View File

@ -743,7 +743,7 @@ rm -rf %{buildroot}/etc/systemd/system/*.target.{requires,wants}
rm -f %{buildroot}/etc/systemd/system/default.target
# Replace upstream systemd-user with the openSUSE one.
install -m0644 %{S:2} %{buildroot}%{_pam_vendordir}
install -m0644 -D --target-directory=%{buildroot}%{_pam_vendordir} %{S:2}
# don't enable wall ask password service, it spams every console (bnc#747783)
rm %{buildroot}%{_unitdir}/multi-user.target.wants/systemd-ask-password-wall.path

View File

@ -741,7 +741,7 @@ rm -rf %{buildroot}/etc/systemd/system/*.target.{requires,wants}
rm -f %{buildroot}/etc/systemd/system/default.target
# Replace upstream systemd-user with the openSUSE one.
install -m0644 %{S:2} %{buildroot}%{_pam_vendordir}
install -m0644 -D --target-directory=%{buildroot}%{_pam_vendordir} %{S:2}
# don't enable wall ask password service, it spams every console (bnc#747783)
rm %{buildroot}%{_unitdir}/multi-user.target.wants/systemd-ask-password-wall.path