- Fix incorrect option name when calling pam-config for systemd-homed

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1426
This commit is contained in:
Franck Bui 2023-08-18 06:31:58 +00:00 committed by Git OBS Bridge
parent 3e9eed63eb
commit 1d4102b706
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 18 06:24:11 UTC 2023 - Franck Bui <fbui@suse.com>
- Fix incorrect option name when calling pam-config for systemd-homed
-------------------------------------------------------------------
Thu Aug 17 09:01:36 UTC 2023 - Johannes Segitz <jsegitz@suse.com>

View File

@ -1235,14 +1235,14 @@ fi
%post homed
if [ $1 -eq 1 ]; then
pam-config --add --systemd-homed || :
pam-config --add --systemd_home || :
fi
%systemd_post systemd-homed.service
%preun homed
%systemd_preun systemd-homed.service
if [ $1 -eq 0 ]; then
pam-config --delete --systemd-homed || :
pam-config --delete --systemd_home || :
fi
%postun homed